AS AgentScopeAPI 手册 / API Reference

ToolCallState

public enum ToolCallState
源码Source io/agentscope/core/message/ToolCallState.java:20–41

定义工具调用状态的枚举。位于 io.agentscope.core.message 包。核心成员包括 getValue、PENDING、ASKING、ALLOWED、SUBMITTED、FINISHED。

A enum in io.agentscope.core.message that defines enum values used when components carries structured messages and events between agents, models and UIs. Declared in io.agentscope.core.message.

枚举常量摘要Enum Constant Summary

常量Constant说明Description
PENDING
执行待处理相关操作。
Performs the PENDING operation.
ASKING
执行 `ASKING` 方法。
Performs the ASKING operation.
ALLOWED
执行已允许相关操作。
Performs the ALLOWED operation.
SUBMITTED
执行 `SUBMITTED` 方法。
Performs the SUBMITTED operation.
FINISHED
执行 `FINISHED` 方法。
Performs the FINISHED operation.

方法摘要Method Summary

方法Method说明Description
public String getValue()
获取值。
Returns the value.

枚举常量详情Enum Constant Detail

PENDING

PENDING("pending")
staticfinal

执行待处理相关操作。

Performs the PENDING operation.

源码Source io/agentscope/core/message/ToolCallState.java:21

ASKING

ASKING("asking")
staticfinal

执行 ASKING 方法。

Performs the ASKING operation.

源码Source io/agentscope/core/message/ToolCallState.java:23

ALLOWED

ALLOWED("allowed")
staticfinal

执行已允许相关操作。

Performs the ALLOWED operation.

源码Source io/agentscope/core/message/ToolCallState.java:25

SUBMITTED

SUBMITTED("submitted")
staticfinal

执行 SUBMITTED 方法。

Performs the SUBMITTED operation.

源码Source io/agentscope/core/message/ToolCallState.java:27

FINISHED

FINISHED("finished")
staticfinal

执行 FINISHED 方法。

Performs the FINISHED operation.

源码Source io/agentscope/core/message/ToolCallState.java:29

方法详情Method Detail

getValue

public String getValue()

获取值。

Returns the value.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/core/message/ToolCallState.java:37–40
基于官方固定版本源码静态生成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.