Unverified50% confidenceFactExact time
不同Provider对工具调用的消息格式存在差异:OpenAI将工具定义放在顶层tools字段并通过role:tool返回结果,Anthropic Claude使用tool_use和tool_result内容块,Google Gemini采用functionDeclarations和functionResponse
1
Sources
50%
Confidence
Long-term
Relevance
7/20/2026
First Seen
Sources
Related Claims
UnverifiedOpenAI supports parallel_tool_calls for invoking multiple tools in parallel; Anthropic's Claude uses special <function_calls> XML tags to delimit tool call output; and Google Gemini declares tools through FunctionDeclaration objects.78% similarUnverifiedDifferent models use different function-calling formats: OpenAI uses the tools parameter, Anthropic uses tool_use blocks, and open-source models each have their own template formats.76% similarVerifiedOpenAI uses a messages array structure, Anthropic's Claude API strictly separates the system prompt from the user conversation, and Google Gemini uses a contents field to encapsulate multi-turn conversations.75% similarUnverifiedMainstream model providers including OpenAI, Anthropic, and Google all support tool-calling mechanisms, but the specific Schema specifications differ slightly74% similarUnverifiedOpenAI's Code Interpreter, LangChain's tool-calling framework, and Anthropic's Tool Use API designed for Claude are all representative implementations of the 'LLM + solver' hybrid architecture.73% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/567243API
curl https://kongchang.com/api/v1/knowledge/claims/567243MCP
get_claim(id=567243)