Berk Bayri

Tool call

When an AI model asks to run an external function, such as searching, reading a file or updating a record. A failed tool call can be a very different failure from a wrong answer.

A tool call is how a model reaches outside itself. Instead of only producing text, the model emits a structured request to run a function (search the web, query a database, send an email, update a system of record), the surrounding software executes it, and the result is returned to the model.

Tool use is what turns a language model into something that can act, which is why it is central to agentic AI. The harness decides which tools exist, how they are described and what happens on failure. Standards such as the Model Context Protocol make tools easier to expose.

Why failures differ

An incorrect calculation is not the same failure as a tool call made with the wrong account permissions. The first is a quality problem; the second is an authority problem with real effects. That is why capability is not authority, and why retries and tool calls also show up as their own line in a cost-migration ledger.

Read more in The wrong questions about AI right now.