Ollama: registry.ollama.ai/library/… does not support tools (model cannot do tool/function calling)
A program (agent, automation, coding helper) sends tools along with a request to Ollama, but the chosen model can’t do anything with them. Ollama therefore rejects the request with error 400.
The message
registry.ollama.ai/library/llama3:instruct does not support tools (status code: 400)
Affects: Ollama
Why is this happening?
Whether a model can use tools depends on its chat template. If the template does not include the part for tools, Ollama rejects every request that includes a tool list. This affects, for example, the original llama3, all gemma3 variants, phi3/phi4, and many vision models like llava. Even self-imported GGUF files from Hugging Face often lose the tool part in the template.
How to fix it
- Check your model with
ollama show <modell>and look at the “Capabilities” section. If it saystools, the model can use tools. If it only sayscompletionand maybevision, it can’t. - Pick a model with tool support: on ollama.com, only models with the “Tools” feature are listed at https://ollama.com/search?c=tools.
- Known models with tools include llama3.1 and newer, qwen2.5, qwen3, and gpt-oss. Pull one of them, for example
ollama pull qwen3, and enter it as the model in your program. - If you imported a GGUF file yourself, check the template with
ollama show <modell> --modelfileand look for.Toolsin the TEMPLATE block. If it’s missing, it’s easier to use the same model from the Ollama library (ollama pull …), where the template is already set up correctly.
Better not: Don’t rely only on the family badge on ollama.com: for some families (for example deepseek-r1), only certain sizes have the tool template. Check the specific variant with ollama show.
Set up from scratch again
If it still doesn’t work after that, a fresh setup step by step often helps:
- Your own ChatGPT with Ollama and Open WebUI
Run a language model locally on Windows - with the Ollama app, suitable models for 8 to 24 GB, context length, command line, and Open WebUI…
Terms for this
Similar errors
- Ollama: llama runner process has terminated: exit status 0xc0000409 (model process crashed)
- Ollama: model "…" not found, try pulling it first (model missing on this server)
- Ollama: pull model manifest: file does not exist (model name or tag does not exist)
- Confusing answers, endless loops, or tags like <|im_end|> (wrong chat template)
- GGUF: unknown model architecture (program too old for the model)
Sources
- https://forum.knime.com/t/https-hub-knime-com-s-zcgxtjnymnx-xguu/87201
- https://github.com/Gitlawb/openclaude/issues/433
- https://www.betterclaw.io/blog/ollama-models-tool-calling-support
- https://ollama.com/search?c=tools
Checked on Oct 28, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.