---
title: "Discussion on \"Designing a run_code tool for an LLM: schema, limits and results a model can act on\" | Hashnode"
description: "Discussion on \"Designing a run_code tool for an LLM: schema, limits and results a model can act on\". Giving a model a tool that runs code is a one-afternoon job. Giving it one that the model uses well, that cannot be talked into running for an hour, and whose failures lead to a sensible next step ins"
url: "https://hashnode.com/posts/designing-a-run-code-tool-for-an-llm-schema-limits-and-results-a-model-can-act-on/6b0782605959644d12db3526"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Designing a run\_code tool for an LLM: schema, limits and results a model can act on](https://sandscale.hashnode.dev/designing-a-run-code-tool-for-an-llm-schema-limits-and-results-a-model-can-act-on?utm_source=hashnode&utm_medium=feed)

Giving a model a tool that runs code is a one-afternoon job. Giving it one that the model uses well, that cannot be talked into running for an hour, and whose failures lead to a sensible next step ins

6d ago · 9 min read · sandscale.hashnode.dev  
Read the article

-   [#llm](https://hashnode.com/tag/llm)
-   [#ai-agents](https://hashnode.com/tag/ai-agents)
-   [#api-design](https://hashnode.com/tag/api-design)
-   [#function-calling](https://hashnode.com/tag/function-calling)

## Written by

[Sandscale](https://hashnode.com/@sandscale)

@sandscale

  
[View profile](https://hashnode.com/@sandscale)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
