Skip to main content

Module todo

Module todo 

Source
Expand description

todo_write tool — agent task-list management.

Allows the agent to maintain a structured checklist for complex tasks. State is kept in a shared Arc<RwLock<Vec<TodoItem>>> that can be read back via [AgentRuntime::current_todos].

Structs§

TodoItem
A single task item in the agent’s to-do list.
TodoWriteTool
Tool that lets the agent create and update a structured task checklist.

Enums§

TodoStatus
Status of a single task in the agent’s to-do list.