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

ToolCallState

class ToolCallState(StrEnum)
源码Source agentscope/message/_block.py:128–135

工具调用的状态。位于 agentscope.message 包,继承自 StrEnum。

The state of the tool call. Declared in agentscope.message. Extends StrEnum.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
PENDING—
待处理字段。
'pending'
ASKING—
ASKING字段。
'asking'
ALLOWED—
已允许字段。
'allowed'
SUBMITTED—
SUBMITTED字段。
'submitted'
FINISHED—
FINISHED字段。
'finished'

属性详情Attribute Detail

PENDING

 = 'pending'

待处理字段。

The PENDING field.

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

ASKING

 = 'asking'

ASKING字段。

The ASKING field.

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

ALLOWED

 = 'allowed'

已允许字段。

The ALLOWED field.

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

SUBMITTED

 = 'submitted'

SUBMITTED字段。

The SUBMITTED field.

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

FINISHED

 = 'finished'

FINISHED字段。

The FINISHED field.

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