Skip to content
Read the original: OpenRouter Blog· Published 52/100AI score52/100

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.

Read the original openrouter.ai

Source: OpenRouter Blog · openrouter.aiPublished · added here