MCPcopy Create free account
hub / github.com/AI45Lab/Code / check

Method check

core/src/safety_gate.rs:184–186  ·  view source on GitHub ↗
(&self, _tool_name: &str, _args: &serde_json::Value)

Source from the content-addressed store, hash-verified

182
183 impl PermissionChecker for StaticPermission {
184 fn check(&self, _tool_name: &str, _args: &serde_json::Value) -> PermissionDecision {
185 self.0
186 }
187 }
188
189 fn restricted_registry() -> Arc<SkillRegistry> {

Callers 1

permission_decisionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected