Free | No tracking | Every fact with a source|German and English

Error / Models and files

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

  1. Check your model with ollama show <modell> and look at the “Capabilities” section. If it says tools, the model can use tools. If it only says completion and maybe vision, it can’t.
  2. Pick a model with tool support: on ollama.com, only models with the “Tools” feature are listed at https://ollama.com/search?c=tools.
  3. 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.
  4. If you imported a GGUF file yourself, check the template with ollama show <modell> --modelfile and look for .Tools in 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:

Terms for this

Similar errors

Sources

Checked on Oct 28, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.