类class
agentscope.eventToolResultStartEvent
class ToolResultStartEvent(EventBase)
源码Source
agentscope/event/_event.py:350–360工具结果启动事件,描述执行过程中的事件。位于 agentscope.event 包,继承自 EventBase。
Tool result start event. Declared in agentscope.event. Extends EventBase.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
type | Literal[EventType.TOOL_RESULT_START] | 类型字段。 | EventType.TOOL_RESULT_START |
reply_id | str | 回复标识字段。 | — |
tool_call_id | str | 工具调用标识字段。 | — |
tool_call_name | str | 工具调用名称字段。 | — |
属性详情Attribute Detail
type
Literal[EventType.TOOL_RESULT_START] = EventType.TOOL_RESULT_START类型字段。声明为 Literal[EventType.TOOL_RESULT_START]。
The type field.
源码Source
agentscope/event/_event.py:353reply_id
str回复标识字段。声明为 str。
The reply id field.
源码Source
agentscope/event/_event.py:355tool_call_id
str工具调用标识字段。声明为 str。
The tool call id field.
源码Source
agentscope/event/_event.py:357tool_call_name
str工具调用名称字段。声明为 str。
The tool call name field.
源码Source
agentscope/event/_event.py:359