
What happened
A Zenn guide comparing OpenAI, Anthropic and Gemini tool-calling APIs found the same name-description-schema content is nested differently in each API, and naming rules diverge — only Gemini accepts dots, so a name like get.weather fails elsewhere.
Why it matters
Developers moving a single tool definition from one provider to another can hit name-based rejections before any request is even sent, the guide suggests — a portability snag for teams planning multi-vendor support.
Summaries like this, every morning.
The guide lays out how tool calling works: the model returns a request to run a function with specific arguments, and your own code executes it. What changes between vendors is only the packaging of that request — where the name, description and argument schema sit, and which characters a name may contain. OpenAI's two endpoints already differ from each other, with Chat Completions nesting fields under function and Responses placing them at the same level, while Anthropic renames the schema field to input_schema and Gemini gathers declarations under functionDeclarations.
The guide also flags pre-send traps. OpenAI's strict mode requires additionalProperties set to false and every property listed as required, and the default for strict differs between Chat Completions and Responses. Anthropic rejects the whole request with a 400 error if even one input_examples sample does not match the tool's own schema, and those samples add prompt tokens — roughly 20–50 for simple ones and 100–200 for deeply nested shapes. Gemini forbids specifying parameters and parametersJsonSchema at the same time.
On the local side, Ollama labels each model with capabilities such as tools, thinking, vision and embedding, and only models bearing the tools label can call functions at all. Because the library changes often, the guide advises checking the label on the tag page you plan to use rather than assuming a model size implies support.
Pick your industry and the AI tools you use, and get news related to your work every day.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
Casap announced a $56 million Series B led by Base10 Partners, with Experian and Synchrony as strategic invest…

Kindai University will give 4,000 Paperpal licenses to full-time faculty and doctoral students at all campuses…

HIX AI's connector update on 11月4日 links Microsoft 365 (Outlook Mail, Outlook Calendar, OneDrive), Google Work…

GENSHI AI said it adopted necoder in-house — a free, AGPL-3.0 Rust editor that Daichi Nagashima began building…

Nicholas Carlini matched Stockfish 17, ported to a 200MHz Pentium Pro, against 1996's Crafty 11.13 on a modern…

Xin Liu and co-authors surveyed 291 open-weight LLM repositories and found 20 of 38 untied gated and hybrid ch…
