Content updated: 2026-06-23
Tool Calling
This document only includes Tool Calling usages that have been successfully validated with actual requests in the Crazyrouter production environment. Validation time:2026-03-22
gpt-5.5claude-opus-4-8gemini-3.1-pro
Validated Capability Matrix
GPT-5.4
cURL
Claude Sonnet 4.6
cURL
- For Claude native
/v1/messages, it is recommended to explicitly addtool_choice - In the prompt, clearly require “must call the tool, do not answer directly”
- This makes it easier to stably reproduce
tool_use
Gemini 3 Pro
cURL
When to Use Which Protocol
- If your project is already using the OpenAI SDK, give priority to the OpenAI-compatible approach of
gpt-5.5 - If you are integrating Claude natively, prioritize
/v1/messages, and addtool_choiceduring the first validation round - If you are integrating Gemini’s native capability, opt for Gemini Native API