Unverified50% confidenceFactExact time
The APIs of vendors such as Anthropic and OpenAI have strict pairing requirements for message sequences: every tool_use returned by the model in the previous turn must have a corresponding tool_result in the next message, and a missing or out-of-order one will cause the entire request to be rejected.
1
Sources
50%
Confidence
Long-term
Relevance
10/15/2026
First Seen
Sources
Related Entities
Related Claims
Unverified在OpenAI和Anthropic的API设计中,每一次工具调用会产生至少两条新消息(调用请求+执行结果)76% 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.76% similarUnverifiedMost platforms that follow the OpenAI API-compatible format include a usage object in their responses, usually carried in the last event of a streaming response with complete token statistics75% similarUnverifiedOpenAI-compatible interfaces usually cover only the core fields, and implementations of extended capabilities such as tools, response_format, and streaming events are not fully consistent across vendors; when encountering unsupported features, they may return a parameter error or silently ignore it.74% similarUnverifiedThe OpenAI Batch API is a reasonable default when applications are built around OpenAI request shapes and structured output tooling, but applications are responsible for mapping output records back to the frozen list.72% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1033461API
curl https://kongchang.com/api/v1/knowledge/claims/1033461MCP
get_claim(id=1033461)