类class
agentscope.eventConfirmResult
class ConfirmResult(BaseModel)
源码Source
agentscope/event/_event.py:468–479用于工具调用的确认结果。位于 agentscope.event 包。
Confirm result for a tool call. Declared in agentscope.event.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
confirmed | bool | `confirmed` 字段。 | — |
tool_call | ToolCallBlock | 工具调用字段。 | — |
rules | list[PermissionRule] | None | 规则字段。 | None |
属性详情Attribute Detail
confirmed
boolconfirmed 字段。声明为 bool。
The confirmed field.
源码Source
agentscope/event/_event.py:471tool_call
ToolCallBlock工具调用字段。声明为 ToolCallBlock。
The tool call field.
源码Source
agentscope/event/_event.py:473rules
list[PermissionRule] | None = None规则字段。声明为 list[PermissionRule] | None。
The rules field.
源码Source
agentscope/event/_event.py:475