Tool calling
Tool calling lets a model propose a named operation and structured arguments. The application decides whether to request it. The tool service independently validates authorization and input before it executes or rejects, and the application returns the validated result to the model.
Tiny example
Section titled “Tiny example”{ "name": "lookup_order", "arguments": { "order_id": "A-1042" }}The model has requested a lookup; it has not performed one.
FDE note
Section titled “FDE note”Validate arguments against a schema, authenticate the user, authorize the specific operation and resource at the execution boundary, set timeouts, and log the result. Client-side checks add defense in depth but do not replace server-side access control. Never rely on the model to enforce permissions or confirm that a side effect succeeded.
See the complete MCP-connected tool flow.