AS AgentScopeAPI 手册 / API Reference

DecisionRequest

public record DecisionRequest( String approvalId, long decisionVersion, String status, boolean allow, String denyMessage, String agentTaskId, String attemptId, long dispatchGeneration, String turnId)
源码Source io/agentscope/builder/web/api/InternalToolConfirmationController.java:136–145

承载决策请求数据的记录类型。位于 io.agentscope.builder.web.api 包。核心成员包括 approvalId、decisionVersion、status、allow、denyMessage、agentTaskId。

Versioned approval decision emitted from the control-plane outbox.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
approvalIdString
执行 `approvalId` 方法。
Performs the approval id operation.
decisionVersionlong
执行决策版本相关操作。
Performs the decision version operation.
statusString
执行状态相关操作。
Performs the status operation.
allowboolean
执行 `allow` 方法。
Performs the allow operation.
denyMessageString
拒绝消息。
Performs the deny message operation.
agentTaskIdString
执行智能体任务标识相关操作。
Performs the agent task id operation.
attemptIdString
执行尝试标识相关操作。
Performs the attempt id operation.
dispatchGenerationlong
执行 `dispatchGeneration` 方法。
Performs the dispatch generation operation.
turnIdString
执行轮次标识相关操作。
Performs the turn id operation.

记录组件详情Record Component Detail

approvalId

String approvalId

执行 approvalId 方法。

Performs the approval id operation.

源码Source io/agentscope/builder/web/api/InternalToolConfirmationController.java:136–145

decisionVersion

long decisionVersion

执行决策版本相关操作。

Performs the decision version operation.

源码Source io/agentscope/builder/web/api/InternalToolConfirmationController.java:136–145

status

String status

执行状态相关操作。

Performs the status operation.

源码Source io/agentscope/builder/web/api/InternalToolConfirmationController.java:136–145

allow

boolean allow

执行 allow 方法。

Performs the allow operation.

源码Source io/agentscope/builder/web/api/InternalToolConfirmationController.java:136–145

denyMessage

String denyMessage

拒绝消息。

Performs the deny message operation.

源码Source io/agentscope/builder/web/api/InternalToolConfirmationController.java:136–145

agentTaskId

String agentTaskId

执行智能体任务标识相关操作。

Performs the agent task id operation.

源码Source io/agentscope/builder/web/api/InternalToolConfirmationController.java:136–145

attemptId

String attemptId

执行尝试标识相关操作。

Performs the attempt id operation.

源码Source io/agentscope/builder/web/api/InternalToolConfirmationController.java:136–145

dispatchGeneration

long dispatchGeneration

执行 dispatchGeneration 方法。

Performs the dispatch generation operation.

源码Source io/agentscope/builder/web/api/InternalToolConfirmationController.java:136–145

turnId

String turnId

执行轮次标识相关操作。

Performs the turn id operation.

源码Source io/agentscope/builder/web/api/InternalToolConfirmationController.java:136–145
基于官方固定版本源码静态生成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.