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

Method check

tutorials/18_design_patterns_for_agents.py:907–909  ·  view source on GitHub ↗

返回 (允许?, 原因)

(self, tool_name: str)

Source from the content-addressed store, hash-verified

905 class PermissionChecker(ABC):
906 @abstractmethod
907 def check(self, tool_name: str) -> tuple[bool, str]:
908 """返回 (允许?, 原因)"""
909 ...
910
911 # ==== 2. Builder: 系统提示词 ====
912

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected