Skip to main content

is_read_tool

Function is_read_tool 

Source
pub fn is_read_tool(name: &str) -> bool
Expand description

Returns true for tool names that perform file reads.

Used to decide whether --suppress-reads should hide the tool output. The list is intentionally exhaustive and case-sensitive. When adding support for a new agent whose read tool has a different name, add the exact name string here — do not use case-insensitive matching, as that would risk misidentifying non-read tools with similar names.