Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Cline error

Cline: [ERROR] You did not use a tool in your previous response!

Error message
[ERROR] You did not use a tool in your previous response! Please retry with a tool use.

Status: WorkaroundLast verified 3 documented fixes2 sources

What it means

The model replied with plain text instead of one of Cline's tool calls, so Cline asks it to retry with a tool.

Causes

  • Models with weak tool-calling support, especially local Ollama models; maintainers consolidated it into #4362 (Improve Ollama Local Model Compatibility).
  • Too-small context window on local models.

How to fix it

  1. Fix 1.

    Increase the Ollama context window (maintainer workaround): run the model, set num_ctx, and save it.

    Terminal
    ollama run your-model
    /set parameter num_ctx 32768
    /save model-name
  2. Fix 2.

    Use tool-optimized models such as hhao/qwen2.5-coder-tools or acidtib/qwen2.5-coder-cline:7b, or qwen2.5-coder:7b with increased context.

  3. Fix 3.

    Consider the OpenAI Compatible provider instead of the direct Ollama integration.

More Cline errors

All 17 Cline errors

FAQ

What does "[ERROR] You did not use a tool in your previous response!" mean in Cline?

The model replied with plain text instead of one of Cline's tool calls, so Cline asks it to retry with a tool.

How do I fix "[ERROR] You did not use a tool in your previous response!"?

There are 3 documented fixes. Start with the first: Increase the Ollama context window (maintainer workaround): run the model, set num_ctx, and save it.

Is this Cline error fixed?

Status: Workaround. No release removes the cause. The documented fixes work around it. Affected versions: Reported on 3.1.5, 3.2.5, 3.3.1

Sources

Last verified against 2 sources: official docs, maintainer replies and release notes.

Newsletter

Fixes for the tools you use, weekly

One email per week. New coding agent releases, what broke, and how developers are working around it.