Function Calling API — Tool Use for AI Agents

Let AI models call your functions. Define tools, handle multi-turn flows, build agents. Works with GPT-4o, Claude, Gemini. Full code examples.

Back to documentation