pub fn classify_tool(name: &str) -> ToolEffectExpand description
Classify a built-in tool by name.
For Bash, this returns the default classification (LocalMutation);
the actual effect depends on the command string and must be refined
via crate::bash_safety::classify_bash_command.
Unknown tools default to LocalMutation (conservative — always asks).
For MCP tools (names containing __), call
ToolRegistry::classify_tool_with_mcp instead to use server-provided
annotations.