MCPcopy Create free account
hub / github.com/TaskingAI/TaskingAI / ToolInput

Class ToolInput

backend/app/models/tool/tool.py:41–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39
40
41class ToolInput(BaseModel):
42 type: ToolType = Field(
43 ...,
44 description="The tool type, which can be `function` or `action`.",
45 examples=["action", "plugin"],
46 )
47
48 tool_id: str = Field(
49 ...,
50 description="The tool ID.",
51 examples=["action_1"],
52 )
53
54 tool_call_id: str = Field(
55 ...,
56 description="The tool call ID.",
57 examples=["call_1"],
58 )
59
60 arguments: Dict = Field(
61 ...,
62 description="The tool input arguments.",
63 )
64
65
66class ToolOutput(BaseModel):

Callers 1

run_toolsMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected