Tool call

A structured request a model makes to run a function, such as reading a file or searching the web, which the agent executes and returns.

Updated November 23, 2026

Tool calls are what make a chat model an agent. The model emits a call with arguments; the harness runs it, possibly after asking you; the result goes back into the context.

Every tool call is a chance for something to go wrong, which is why permission prompts attach to them, and a chance to learn something, which is why agents make so many.