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

Method decide

tutorials/05_agentic_loop_complete.py:101–102  ·  view source on GitHub ↗
(self, tool_name: str, tool_input: str)

Source from the content-addressed store, hash-verified

99
100class AutoAllowPrompter:
101 def decide(self, tool_name: str, tool_input: str) -> tuple[bool, str]:
102 return (True, "auto-approved")
103
104class PermissionPolicy:
105 def __init__(self, mode: PermissionMode):

Callers 1

authorizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected