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

Method execute

tutorials/18_design_patterns_for_agents.py:307–308  ·  view source on GitHub ↗
(self, name, inp)

Source from the content-addressed store, hash-verified

305
306 class PrintToolExecutor(ToolExecutor):
307 def execute(self, name, inp):
308 return f"[{name}] 执行了: {inp}"
309
310 # 场景 1: 纯文本回答 (无工具调用)
311 runtime = ConversationRuntime(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected