类class
agentscope.realtimeToolCallEvent
class ToolCallEvent(ModelEvent)
源码Source
agentscope/realtime/_events.py:71–75工具调用事件,描述执行过程中的事件。位于 agentscope.realtime 包,继承自 ModelEvent。
A complete tool call requested by the provider. Declared in agentscope.realtime. Extends ModelEvent.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
item_id | str | 条目标识字段。 | — |
tool_call | ToolCallBlock | 工具调用字段。 | — |
属性详情Attribute Detail
item_id
str条目标识字段。声明为 str。
The item id field.
源码Source
agentscope/realtime/_events.py:74tool_call
ToolCallBlock工具调用字段。声明为 ToolCallBlock。
The tool call field.
源码Source
agentscope/realtime/_events.py:75