Skip to main content

tool_granted

Function tool_granted 

Source
pub fn tool_granted(grants: &Grants, tool: &RegisteredTool) -> bool
Expand 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.