Unverified95% confidenceFactTime unknown
在OpenAI和Anthropic的API设计中,每一次工具调用会产生至少两条新消息(调用请求+执行结果)
1
Sources
95%
Confidence
Long-term
Relevance
5/31/2026
First Seen
Sources
Related Entities
Related Claims
VerifiedIn the OpenAI Function Calling or LangChain Tool calling specification, context feed-back corresponds to inserting messages with the tool role into the messages list79% similarUnverifiedOpenAI's Tool Calling protocol requires messages to strictly follow the paired order of assistant message → tool message, and each tool message must be precisely matched to the corresponding tool call request in the assistant message via tool_call_id.79% similarVerifiedOpenAI 的 Function Calling 和 Anthropic 的 Tool Use API 都是 ReAct 模式的标准化实现77% similarUnverifiedIn mainstream APIs such as OpenAI, each call requires passing the complete message history (messages), including messages from roles such as system, user, and assistant.77% similarUnverifiedIn OpenAI's Chat Completions API, system prompts exist in the form of {"role": "system"} and have a higher instruction priority than user messages.77% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/3297API
curl https://kongchang.com/api/v1/knowledge/claims/3297MCP
get_claim(id=3297)