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

Function handle_bash

tutorials/18_design_patterns_for_agents.py:703–704  ·  view source on GitHub ↗
(inp: str)

Source from the content-addressed store, hash-verified

701
702 @r.tool("bash")
703 def handle_bash(inp: str) -> str:
704 return f"$ {json.loads(inp)['command']}"
705
706 @r.tool("read")
707 def handle_read(inp: str) -> str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected