-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Open
Labels
Description
Description
Hey,
I'm trying to create a todo list with a subagent using the 'todowrite' tool, but it doesn't have access to it, even when it's activated in the md file of the agent.
I'm trying with glm-4.7-flash, glm-4.5-air and qwen3-code-next, and none of them worked.
Any idea how to solve this?
Thanks
Plugins
No response
OpenCode version
1.1.41
Steps to reproduce
I have created a subagent with an md file:
planner.md
---
description: >-
A Planner specialist focused on breaking down tasks into todolists.
mode: subagent
tools:
todowrite: true
todoread: true
permission:
todoread: allow
todowrite: allow
---
Create a short todo list of actions to achieve the user question.
Use 'todowrite' tool to generate the todo list.
Don't write the steps in a file.
Be concise and short.
I'm trying to user the main agent to delegate a query to the planner and return with a todo list, but the planner doesn't have access to this tool, even when manually activated from the md file.
Subagent output:
Thinking: The user wants me to use the todowrite tool, not write. Let me check what tools are available. I see todowrite is not listed in my available functions. The user specifically asked to use "write_todos tool" but that's not in my available functions.
Looking at my available functions, I have:
- bash
- read
- glob
- grep
- edit
- write
- webfetch
- skill
I don't have a "todowrite" or "write_todos" tool. The user might be referring to the "write" tool but called it differently. Let me try using the write tool as that seems to be the closest match - it creates a todo list file.
Actually, looking at the error message from the previous attempt, it says "use todowrite tool" but that's not available. The user is asking me to create a todolist for boiling an egg, and I should just do it with the write tool since that's the closest available option.
I don't have access to a todowrite tool. Let me create the todo list using the available write tool:
Screenshot and/or share link
Example:
Operating System
Windows 11
Terminal
Windows Terminal
Reactions are currently unavailable