MCPcopy Create free account
hub / github.com/modelscope/ms-agent / ToolCall

Class ToolCall

ms_agent/llm/utils.py:9–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7
8
9class ToolCall(TypedDict, total=False):
10 id: str = 'default_id'
11 index: int = 0
12 type: str = 'function'
13 tool_name: str = ''
14 arguments: str = '{}'
15
16
17class Tool(TypedDict, total=False):

Callers 9

setUpMethod · 0.90
mainMethod · 0.90
setUpMethod · 0.90
mainMethod · 0.90
_merge_stream_messageMethod · 0.90

Calls

no outgoing calls

Tested by 4

setUpMethod · 0.72
mainMethod · 0.72
setUpMethod · 0.72
mainMethod · 0.72