AS AgentScopeAPI 手册 / API Reference

ToolInfo

public record ToolInfo( String name, String description, String title, Map<String, Object> inputSchema, Map<String, Object> outputSchema)
源码Source io/agentscope/extensions/higress/HigressToolSearchResult.java:228–233

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

Represents a single tool returned from the search.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
nameString
执行名称相关操作。
the tool name (e.g., "map___maps_weather")
descriptionString
执行 `description` 方法。
the tool description
titleString
执行 `title` 方法。
the tool title (e.g., "maps_weather")
inputSchemaMap<String, Object>
输入参数 JSON 模式。
the input parameter JSON schema
outputSchemaMap<String, Object>
输出参数 JSON 模式。
the output parameter JSON schema

记录组件详情Record Component Detail

name

String name

执行名称相关操作。

the tool name (e.g., "map___maps_weather")

源码Source io/agentscope/extensions/higress/HigressToolSearchResult.java:228–233

description

String description

执行 description 方法。

the tool description

源码Source io/agentscope/extensions/higress/HigressToolSearchResult.java:228–233

title

String title

执行 title 方法。

the tool title (e.g., "maps_weather")

源码Source io/agentscope/extensions/higress/HigressToolSearchResult.java:228–233

inputSchema

Map<String, Object> inputSchema

输入参数 JSON 模式。

the input parameter JSON schema

源码Source io/agentscope/extensions/higress/HigressToolSearchResult.java:228–233

outputSchema

Map<String, Object> outputSchema

输出参数 JSON 模式。

the output parameter JSON schema

源码Source io/agentscope/extensions/higress/HigressToolSearchResult.java:228–233
基于官方固定版本源码静态生成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.