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

Method execute

tutorials/18_design_patterns_for_agents.py:81–82  ·  view source on GitHub ↗
(self, tool_name: str, tool_input: str)

Source from the content-addressed store, hash-verified

79 """工具执行器接口: 你必须能按名字执行工具"""
80 @abstractmethod
81 def execute(self, tool_name: str, tool_input: str) -> str:
82 ...
83
84 # 对应 permissions.rs:39-41
85 # pub trait PermissionPrompter {

Callers 3

run_turnMethod · 0.45
lesson_3_builder_patternFunction · 0.45
run_turnMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected