Task Management
| ID | stateless_todo_list |
| Category | Productivity |
| Features | None |
| Dependencies | None |
Enables agents to create and manage structured task lists. State is maintained in conversation history — each tool call sends the complete list.
write_todos
Section titled “write_todos”Create or update the complete task list. Each call replaces the entire list.
| Parameter | Type | Required | Description |
|---|---|---|---|
todos | array | yes | Array of { content, status, activeForm } objects |
Task statuses: pending, in_progress, completed.
Use Cases
Section titled “Use Cases”- Multi-step implementations — track progress across a complex coding task
- User-requested lists — manage a checklist of items the user provides
- Workflow tracking — show progress on multi-file refactoring or migration tasks
Example
Section titled “Example”User: Refactor the auth module to use JWT
Agent: → write_todos([ { content: "Analyze current auth implementation", status: "in_progress", activeForm: "Analyzing current auth" }, { content: "Add JWT dependency", status: "pending", activeForm: "Adding JWT dependency" }, { content: "Implement token generation", status: "pending", activeForm: "Implementing token generation" }, { content: "Update middleware", status: "pending", activeForm: "Updating middleware" }, { content: "Run tests", status: "pending", activeForm: "Running tests" } ])- Stateless — no database table; state lives in conversation history
- Each
write_todoscall must include the complete list (not incremental updates) - Best practice: exactly one task
in_progressat a time - Only mark a task
completedwhen fully done (tests pass, no errors) activeFormis the present-continuous label shown during execution (e.g., “Running tests”)
See Also
Section titled “See Also”- Session — session metadata management
- Capabilities Overview