pub fn tool_granted(grants: &Grants, tool: &RegisteredTool) -> boolExpand description
Whether grants allow running tool. The built-in bash, grep and
find run processes, and the other built-in tools need file access. Any
other tool, including one an extension registers under a built-in name,
may reach anything, so it needs every grant.