How agent frameworks handle tool-calling schemas across model providers
Original titleAgent Frameworks Compared: Tool-Calling Schema Handling
AISummary
Tool definitions and tool-call responses differ between OpenAI, Anthropic, and Google, so a tool that works on one model may fail on another.
The article compares six agent frameworks, including LangChain, CrewAI, and the OpenAI Agents SDK, by where each performs schema translation.
It also describes OpenRouter's API-layer normalization, which accepts an OpenAI-style tools array and returns a standard tool_calls response for tool-capable models.
Source: OpenRouter Blog · openrouter.aiPublished · added here