Simple definition
Tool calling allows an AI model to request operations from external functions or services through a defined interface.
Purpose and use
Tool calling lets a model propose a structured call to an application-described function or tool.
How does it work?
The model produces a name and arguments; software validates and executes an authorized operation and can return its result to continue the task.
Example and verification
Validate arguments, context and permissions at execution, then observe the actual result rather than relying solely on the model's announcement.
Points to watch
A syntactically valid call can be unnecessary or target the wrong resource. Proposing a tool is not authorization to use it.
In short
The model selects a capability; the application remains responsible for execution permissions, validation and effects.