Skip to main content

TODO_TOOL_NAMES

Constant TODO_TOOL_NAMES 

Source
const TODO_TOOL_NAMES: &[&str];
Expand description

Tool names whose call arguments carry checklist state.

Deliberately a list rather than the single TodoWrite everyone expects: Claude Code 2.1.177 — the version AgentMux ships against today — advertises TaskCreate/TaskUpdate and no TodoWrite at all, and other providers differ again. Matching by a known set plus the Todo substring below means a version bump that renames the tool degrades to “no rows” rather than to wrong rows.

READ-style tools (TaskList, TodoRead) are deliberately absent. Their task data lives in the tool RESULT, not the call’s input, and this parser only reads input — so listing them would advertise support that silently contributes nothing (reagent P2 on PR #2952). Supporting them means parsing tool_result payloads, which is its own change.