MCPcopy
hub / github.com/ModelTC/LightLLM / ToolCall

Class ToolCall

lightllm/server/api_models.py:116–121  ·  view source on GitHub ↗

Tool call response.

Source from the content-addressed store, hash-verified

114
115
116class ToolCall(BaseModel):
117 """Tool call response."""
118
119 id: str
120 type: Literal["function"] = "function"
121 function: FunctionResponse
122
123
124class UsageInfo(BaseModel):

Callers 2

chat_completions_implFunction · 0.85
stream_resultsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected