Definition
Tool Calling
Tool calling lets a model request an application-provided operation by emitting a name and arguments or another supported input format. The application checks the request, runs the allowed operation, and returns its result. Schema validation checks the argument shape. Permissions and business rules determine whether the operation can proceed.
Validate the business rule after parsing the request
A support agent requests lookup_order with a syntactically valid order ID. The application still checks that the authenticated customer can view that order. If the check fails, return a limited result the agent can act on. Declare the outcome in the user response only after the application has a result for the requested operation.
Function calling lifecycle and schema validation
Intelligence at Scale by Shashank Agarwal

Explained in
Chapter 9: What Is an Agent?
The moment you give an LLM access to knowledge or tools, it becomes an agent. And that makes all the difference.
Related terms