Menu

Tool Calls

Last updated

The AI Gateway supports Anthropic-compatible function calling, allowing models to call tools and functions.

Example request

Tool call response format

When the model makes tool calls, the response includes tool use blocks:


Was this helpful?

supported.