Function Calling
Let models propose structured tool arguments while your application controls execution.
Execution loop
- Declare tools and JSON Schema parameters.
- Validate the returned tool name and arguments.
- Execute the tool on your server.
- Send the tool result back to the model.
Your application must enforce authorization, timeouts and confirmation for side effects.
