(&self, tool_name: &str)
| 446 | } |
| 447 | |
| 448 | pub fn is_tool_allowed(&self, tool_name: &str) -> bool { |
| 449 | matches!( |
| 450 | self.tool_permission_decision(tool_name), |
| 451 | PermissionDecision::Allow |
| 452 | ) |
| 453 | } |
| 454 | } |
| 455 | |
| 456 | pub struct AgentRegistry { |
nothing calls this directly
no outgoing calls
no test coverage detected