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

Method get_spec

tutorials/03_tool_system.py:312–314  ·  view source on GitHub ↗

获取某个工具的说明书

(self, name: str)

Source from the content-addressed store, hash-verified

310 return list(self._specs.values())
311
312 def get_spec(self, name: str) -> ToolSpec | None:
313 """获取某个工具的说明书"""
314 return self._specs.get(name)
315
316
317# ============================================================

Callers 1

mainFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected