AS AgentScopeAPI 手册 / API Reference

ToolInfo

public record ToolInfo(String name, String description, Map<String, Object> parameters)
源码Source io/agentscope/extensions/controlplane/model/ContextSnapshot.java:305–318

承载工具信息数据的记录类型。位于 io.agentscope.extensions.controlplane.model 包。核心成员包括 name、description、parameters。

One tool currently exposed to the agent.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
nameString
执行名称相关操作。
Performs the name operation.
descriptionString
执行 `description` 方法。
Performs the description operation.
parametersMap<String, Object>
执行参数相关操作。
Performs the parameters operation.

记录组件详情Record Component Detail

name

String name

执行名称相关操作。

Performs the name operation.

源码Source io/agentscope/extensions/controlplane/model/ContextSnapshot.java:305–318

description

String description

执行 description 方法。

Performs the description operation.

源码Source io/agentscope/extensions/controlplane/model/ContextSnapshot.java:305–318

parameters

Map<String, Object> parameters

执行参数相关操作。

Performs the parameters operation.

源码Source io/agentscope/extensions/controlplane/model/ContextSnapshot.java:305–318
基于官方固定版本源码静态生成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.