AS AgentScopeAPI 手册 / API Reference

ConfirmationDecision

public record ConfirmationDecision(boolean allow, String reason)
源码Source io/agentscope/builder/web/toolbus/ToolConfirmationCoordinator.java:843

承载确认决策数据的记录类型。位于 io.agentscope.builder.web.toolbus 包。核心成员包括 allow、reason。

A record in io.agentscope.builder.web.toolbus that carries data used when components deploys, schedules and serves agents. Declared in io.agentscope.builder.web.toolbus.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
allowboolean
执行 `allow` 方法。
Performs the allow operation.
reasonString
执行推理相关操作。
Performs the reason operation.

记录组件详情Record Component Detail

allow

boolean allow

执行 allow 方法。

Performs the allow operation.

源码Source io/agentscope/builder/web/toolbus/ToolConfirmationCoordinator.java:843

reason

String reason

执行推理相关操作。

Performs the reason operation.

源码Source io/agentscope/builder/web/toolbus/ToolConfirmationCoordinator.java:843
基于官方固定版本源码静态生成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.