MCPcopy Create free account
hub / github.com/Mercury7353/PyBench / ToolCall

Class ToolCall

llms/schema.py:98–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96
97
98class ToolCall(BaseModel):
99 id: str
100 """The ID of the tool call."""
101
102 type: Literal["function"]
103 """The type of the tool. Currently, only `function` is supported."""
104
105 function: Function
106 """The function that the model called."""
107
108
109class Message(BaseModel):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected