How it works
The model proposes a tool name and arguments. The application validates them, checks permissions, runs an allowed tool, and returns the result to the model for the next step.
A concrete example
For a weather question, an assistant might request a forecast for a location; application code validates the location before calling a weather service.
Watch for this
A model suggestion is not authorization. Never let untrusted input bypass validation, access controls, or confirmation for sensitive actions.
Try it yourself
Step through the simulated request and identify where validation and permission checks happen.