Qwen3 Coder - unavailable tool 'todo_write'. #930

Closed
opened 2026-02-16 17:28:48 -05:00 by yindo · 10 comments
Owner

Originally created by @skpulipaka26 on GitHub (Jul 26, 2025).

Originally assigned to: @thdxr on GitHub.

Model: Qwen3-480B-Coder

I see this error

AI_NoSuchToolError: Model tried to call unavailable tool 'todo_write'. Available tools: bash, edit, webfetch, glob, grep,
list, read, write, task.
Originally created by @skpulipaka26 on GitHub (Jul 26, 2025). Originally assigned to: @thdxr on GitHub. Model: `Qwen3-480B-Coder` I see this error ``` AI_NoSuchToolError: Model tried to call unavailable tool 'todo_write'. Available tools: bash, edit, webfetch, glob, grep, list, read, write, task. ```
yindo added the model-problem label 2026-02-16 17:28:48 -05:00
yindo closed this issue 2026-02-16 17:28:48 -05:00
Author
Owner

@thdxr commented on GitHub (Jul 26, 2025):

hm it just hallucinated that tool

@thdxr commented on GitHub (Jul 26, 2025): hm it just hallucinated that tool
Author
Owner

@skpulipaka26 commented on GitHub (Jul 26, 2025):

I noticed this happen a few times.

also, big fan of your work. thank you!

@skpulipaka26 commented on GitHub (Jul 26, 2025): I noticed this happen a few times. also, big fan of your work. thank you!
Author
Owner

@ionizing-plasma commented on GitHub (Jul 30, 2025):

i want to create a custom agent that will actually make the todo list and maintain it when qwen hallucinates the tool call, but I don't even know if that is possible yet, just getting started here. My qwen was making it upper case "TodoWrite"

@ionizing-plasma commented on GitHub (Jul 30, 2025): i want to create a custom agent that will actually make the todo list and maintain it when qwen hallucinates the tool call, but I don't even know if that is possible yet, just getting started here. My qwen was making it upper case "TodoWrite"
Author
Owner

@k3d3 commented on GitHub (Jul 31, 2025):

Interestingly, TodoWrite is a tool that exists in claude code.

@k3d3 commented on GitHub (Jul 31, 2025): Interestingly, TodoWrite is a tool that exists in claude code.
Author
Owner

@skbolton commented on GitHub (Jul 31, 2025):

Seeing the same thing. I would share a shared session link but it excludes the error output

Screenshot Image
@skbolton commented on GitHub (Jul 31, 2025): Seeing the same thing. I would share a shared session link but it excludes the error output <details><summary>Screenshot</summary> <img width="1112" height="1571" alt="Image" src="https://github.com/user-attachments/assets/8fc4c898-cc83-42d9-97cf-df4b27e33927" /> </details>
Author
Owner

@kturung commented on GitHub (Aug 2, 2025):

I think this model is heavily trained using Claude Code.

@kturung commented on GitHub (Aug 2, 2025): I think this model is heavily trained using Claude Code.
Author
Owner

@Sewer56 commented on GitHub (Sep 7, 2025):

https://github.com/sst/opencode/commit/5cc44c872e829a6dd2725a42f47d2fb370bb9cbd

Appears @thdxr force disabled it for qwen now.

@Sewer56 commented on GitHub (Sep 7, 2025): https://github.com/sst/opencode/commit/5cc44c872e829a6dd2725a42f47d2fb370bb9cbd Appears @thdxr force disabled it for qwen now.
Author
Owner

@rekram1-node commented on GitHub (Sep 8, 2025):

this should be fixed in next release, todo read and todo write are re-enabled,

closing for now, will reopen if issue continues

@rekram1-node commented on GitHub (Sep 8, 2025): this should be fixed in next release, todo read and todo write are re-enabled, closing for now, will reopen if issue continues
Author
Owner

@jrgleason commented on GitHub (Dec 22, 2025):

@rekram1-node I am getting something similar with

Are you available
Yes, I'm available and ready to help you with any tasks or questions you might have. How can I assist you today?
⚙ invalid [tool=todolist, error=Model tried to call unavailable tool 'todolist'. Available tools: invalid, bash, read, glob, grep, list, edit, write, task, webfetch, todowrite, todoread, skill.]
I see there was an error with the tool I tried to use. Let me correct my approach and work with the available tools. I'll help you with whatever task you need assistance with using the proper tools. What would you like me to do?
▣ Build · qwen3-coder:30b · 54.9s

Should I open another ticket? Is it hallucinating this too?

@jrgleason commented on GitHub (Dec 22, 2025): @rekram1-node I am getting something similar with > Are you available Yes, I'm available and ready to help you with any tasks or questions you might have. How can I assist you today? ⚙ invalid [tool=todolist, error=Model tried to call unavailable tool 'todolist'. Available tools: invalid, bash, read, glob, grep, list, edit, write, task, webfetch, todowrite, todoread, skill.] I see there was an error with the tool I tried to use. Let me correct my approach and work with the available tools. I'll help you with whatever task you need assistance with using the proper tools. What would you like me to do? ▣ Build · qwen3-coder:30b · 54.9s Should I open another ticket? Is it hallucinating this too?
Author
Owner

@jrgleason commented on GitHub (Dec 22, 2025):

Or maybe just use a system prompt to tell it it check what tools are available before using them?

@jrgleason commented on GitHub (Dec 22, 2025): Or maybe just use a system prompt to tell it it check what tools are available before using them?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#930