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

ToolResultState

class ToolResultState(StrEnum)
源码Source agentscope/message/_block.py:185–192

工具结果状态。位于 agentscope.message 包,继承自 StrEnum。

The tool result state. Declared in agentscope.message. Extends StrEnum.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
SUCCESS—
成功字段。
'success'
ERROR—
错误字段。
'error'
INTERRUPTED—
INTERRUPTED字段。
'interrupted'
DENIED—
已拒绝字段。
'denied'
RUNNING—
运行中字段。
'running'

属性详情Attribute Detail

SUCCESS

 = 'success'

成功字段。

The SUCCESS field.

源码Source agentscope/message/_block.py:188

ERROR

 = 'error'

错误字段。

The ERROR field.

源码Source agentscope/message/_block.py:189

INTERRUPTED

 = 'interrupted'

INTERRUPTED字段。

The INTERRUPTED field.

源码Source agentscope/message/_block.py:190

DENIED

 = 'denied'

已拒绝字段。

The DENIED field.

源码Source agentscope/message/_block.py:191

RUNNING

 = 'running'

运行中字段。

The RUNNING field.

源码Source agentscope/message/_block.py:192
基于官方固定版本源码静态生成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.