ai-coding-tools
← Glossary

Tool Calling

When a model invokes a function or API instead of just returning text.

Tool calling is the mechanism that turns a language model from a text generator into an agent. The model outputs a structured call (read_file, run_command, grep), the runtime executes it, and the result flows back into the next model turn. Without tool calling there is no such thing as an agent.