Digitorn
Digitorn
All terms
Models & inference

Tool format

The JSON shape a provider expects for tool definitions and tool calls. Differs slightly per provider.

also known as: tool schema, function schema
In depth

Anthropic, OpenAI, Mistral, and Gemini all support tool calling, but the schemas they expect are not byte-identical. Most agent runtimes normalise across them, so your YAML declares one tool and the runtime translates per provider. Mismatches usually surface as 'the tool ran but the model thinks it didn't', which is a sign that the result format is off by a field name.

Related concepts
Newsletter

Get the next post in your inbox.

Engineering notes from the Digitorn team. No marketing, no launch announcements, no "10 prompts that will change your life". Just the things we write that we'd want to read.

One-click unsubscribe. We never share your address. Powered by our own infrastructure, not a tracker.

More in Models & inference

Context window/glossary/context-windowFrontier model/glossary/frontier-modelInference/glossary/inferenceLLM/glossary/llmOpen-weight model/glossary/open-weight-modelStreaming/glossary/streaming