Skip to main content
This mirrors the Cookbook’s multi-tool flow. The model returns a function_call, you execute it locally, then send a function_call_result. Repeat for subsequent tool calls.

1) Initial request (expose multiple tools)

The response will include a type: "function_call" for the chosen tool.

2) Send the result back (repeat per tool)

View source on GitHub → 2_multiple_tools.py