MCPcopy Create free account
hub / github.com/bcefghj/miniClaudeCode / to_api_schema

Method to_api_schema

miniclaudecode/tools/base.py:48–53  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46 def execute(self, params: dict[str, Any]) -> ToolResult: ...
47
48 def to_api_schema(self) -> dict[str, Any]:
49 return {
50 "name": self.name,
51 "description": self.description,
52 "input_schema": self.input_schema,
53 }
54
55
56class ToolRegistry:

Callers 1

api_schemasMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected