[BUG] Bug Report: TodoWrite Tool Parameter Validation Failure
Description
The TodoWrite tool in Claude Code is failing to accept valid parameters, returning a validation error that the required todos parameter is missing even when
properly provided.
Environment
- Platform: Windows
- Working Directory: D:\huangyg\git\sample\voucher
- Date: 2025-08-25
- Model: qwen-coder-turbo-0919
Steps to Reproduce
- Attempt to call the TodoWrite tool with valid parameters:
{
"todos": [
{
"id": "task1",
"content": "Test task",
"status": "pending"
}
]
}
- Observe the error response:
tool_use_error: InputValidationError: TodoWrite failed due to the following issue:
The required parameter todos is missing
Expected Behavior
The TodoWrite tool should accept the properly formatted todos parameter and create/update the todo list accordingly.
Actual Behavior
The tool consistently returns a validation error claiming the todos parameter is missing, regardless of how the parameter is provided.
Additional Context
- Other tools (e.g., Bash, Read, Edit) are working correctly in the same environment
- This suggests the issue is specific to the TodoWrite tool implementation rather than the Claude Code framework
- Multiple formatting attempts have been made with the same result
Impact
This bug prevents users from tracking progress on tasks using the built-in todo list functionality, which impacts workflow organization and task management in
Claude Code sessions.
Workaround
Users must manually track their progress without the benefit of the TodoWrite tool's structured task management.
---
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗