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

Method execute

mini_claude_code/tools.py:15–19  ·  view source on GitHub ↗
(self, name: str, tool_input_json: str)

Source from the content-addressed store, hash-verified

13 return self
14
15 def execute(self, name: str, tool_input_json: str) -> str:
16 handler = self._handlers.get(name)
17 if handler is None:
18 raise KeyError(f"Unknown tool: {name}")
19 return handler(tool_input_json)
20
21def bash_tool(input_json:str):
22 data = json.loads(input_json)

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected