AS AgentScopeAPI 手册 / API Reference
类class agentscope.event

ConfirmResult

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
confirmedbool
`confirmed` 字段。
—
tool_callToolCallBlock
工具调用字段。
—
ruleslist[PermissionRule] | None
规则字段。
None

属性详情Attribute Detail

confirmed

bool

confirmed 字段。声明为 bool。

The confirmed field.

源码Source agentscope/event/_event.py:471

tool_call

ToolCallBlock

工具调用字段。声明为 ToolCallBlock。

The tool call field.

源码Source agentscope/event/_event.py:473

rules

list[PermissionRule] | None = None

规则字段。声明为 list[PermissionRule] | None。

The rules field.

源码Source agentscope/event/_event.py:475
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.