Tools
Tool calling works in all three shapes of the API — OpenAI, Anthropic and Ollama — on the cluster’s own model.
Give tools as you always do
| Shape | Tools | Choice |
|---|---|---|
| OpenAI | tools (functions) |
tool_choice: auto, none, required, or one function by name |
| Anthropic | tools |
tool_choice: auto, any, none, or tool by name |
| Ollama | tools |
— |
The answer comes back in the shape you asked in: tool_calls with finish_reason: "tool_calls" (OpenAI), tool_use blocks with stop_reason: "tool_use" (Anthropic), message.tool_calls (Ollama). Send the results back as role: "tool" messages or tool_result blocks, and the model goes on.
Many tools
A long list of tools costs the model time before every answer. From 9 tools, or 6 000 bytes of descriptions, the model is shown only each tool’s name and one line, and asks for a tool’s full description when it needs it; the cluster answers that by itself. Force either way with:
{ "omnarc_tool_catalog": true }
false always gives the whole list.
What to expect
How well tools are used depends on the model. The 30B mixtures of experts call tools well; small models may call a tool when none is needed.