Skip to main content

is_write_tool

Function is_write_tool 

Source
pub fn is_write_tool(tool: &str) -> bool
Expand description

True for a tool that can modify files.

This is the one list. It previously existed twice — here and as half of the TUI’s is_write_or_shell_tool — and the two drifted: Edit, the model-visible canonical name for the write tool, was in the TUI copy and missing here, so a branch or sequence whose allowed_tools was ["Edit"] produced an approval card reporting writes: false for a spec that could in fact write.