MCPcopy Create free account
hub / github.com/Louisym/MiniCC / __init__

Method __init__

tutorials/18_design_patterns_for_agents.py:943–944  ·  view source on GitHub ↗
(self, blocked_tools: list[str])

Source from the content-addressed store, hash-verified

941
942 class SimplePermission(PermissionChecker):
943 def __init__(self, blocked_tools: list[str]):
944 self.blocked = set(blocked_tools)
945
946 def check(self, tool_name: str) -> tuple[bool, str]:
947 if tool_name in self.blocked:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected