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 |
|---|---|---|
name | String | 执行名称相关操作。 the tool name (e.g., "map___maps_weather") |
description | String | 执行 `description` 方法。 the tool description |
title | String | 执行 `title` 方法。 the tool title (e.g., "maps_weather") |
inputSchema | Map<String, Object> | 输入参数 JSON 模式。 the input parameter JSON schema |
outputSchema | Map<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–233description
String description执行 description 方法。
the tool description
源码Source
io/agentscope/extensions/higress/HigressToolSearchResult.java:228–233title
String title执行 title 方法。
the tool title (e.g., "maps_weather")
源码Source
io/agentscope/extensions/higress/HigressToolSearchResult.java:228–233inputSchema
Map<String, Object> inputSchema输入参数 JSON 模式。
the input parameter JSON schema
源码Source
io/agentscope/extensions/higress/HigressToolSearchResult.java:228–233outputSchema
Map<String, Object> outputSchema输出参数 JSON 模式。
the output parameter JSON schema
源码Source
io/agentscope/extensions/higress/HigressToolSearchResult.java:228–233