Why AI Agents Never Actually Run Their Own Tools @FARZAD-FM
Why AI Agents Never Actually Run Their Own Tools  @FARZAD-FM
Uploaded November 2026 | Updated November 2026, 55 minutes ago
When an AI agent edits a file or clicks a button, the model never runs anything itself. It can only read text in and write text out. To use a tool, Claude or ChatGPT writes a structured request (in Anthropic's API, a tool use block with the tool's name and arguments as JSON) and stops. The program around it, called the harness, runs the database query or file write and pastes the output back into the chat as a tool result. Even Anthropic's built-in computer, bash, browser, text editor and memory tools work this way. Because the model stops on every request, an agent is a while loop: while the stop reason is tool use, the harness runs the tools and sends the whole conversation plus the results back as a new request, until the model finishes on end turn. Every request bills for total input tokens, including each tool's name, description, schema and all tool use and tool result blocks, and Anthropic adds a hidden system prompt of 286 tokens on Claude Opus 5.5, or 406 when a tool is forced. Server tools like web search loop on Anthropic's servers instead. On Nov 25, 2024, Anthropic open-sourced the Model Context Protocol (MCP): over JSON-RPC 2.0, a server lists its tools once with tools/list, and any MCP app calls them with tools/call.

Sources:
platform.claude.com/docs/en/agents-and-tools/tool-use/how-tool-use-works
platform.claude.com/docs/en/agents-and-tools/tool-use/overview
platform.openai.com/docs/guides/function-calling
anthropic.com/news/model-context-protocol
modelcontextprotocol.io/docs/learn/architecture

#AI #AIAgents #MCP #Anthropic #Shorts #shorts
Why AI Agents Never Actually Run Their Own ToolsAnalysts Expected Tesla to Burn $4.5B. Tesla Reported +$1.5B
Farzad |

Why AI Agents Never Actually Run Their Own Tools

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER