Skip to main content

Module todo

Module todo 

Source
Expand description

TodoWrite tool — lets the agent track tasks during a session.

Structs§

TodoTool
Shared todo list, wrapped in Arc so multiple tool calls can access it. State IS shared across calls: TodoTool is constructed once via TodoTool::new() and registered as a single instance in the ToolRegistry. All execute() calls reference the same Arc fields, so items persist across the session.