pub fn is_readonly_tool(tool_id: &str) -> boolExpand description
Returns true if tool_id is a native read-only tool.
Reuses the same READONLY_TOOLS allowlist that gates ReadOnly autonomy mode, so
Supervised mode’s unconfigured-tool bypass (TrustGateExecutor::check_trust) cannot
silently diverge from it — see #5575.