MCPcopy Create free account
hub / github.com/Dizzy-K/AutoPT / ToolSpec

Class ToolSpec

tools/registry.py:18–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17@dataclass(slots=True)
18class ToolSpec:
19 name: str
20 description: str
21 handler: ToolHandler
22
23 def to_dict(self) -> dict[str, str]:
24 return {
25 "name": self.name,
26 "description": self.description,
27 }
28
29
30def build_terminal_tool(

Callers 2

build_terminal_toolFunction · 0.85
build_html_toolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected