AS AgentScopeAPI 手册 / API Reference

AgentscopeToolsEndpoint

@Endpoint(id = "agentscope-tools") public class AgentscopeToolsEndpoint
源码Source io/agentscope/spring/boot/admin/endpoint/AgentscopeToolsEndpoint.java:25–38

已注册工具的GET /actuator/agentscope-tools:per-工具包-bean 列出。位于 io.agentscope.spring.boot.admin.endpoint 包。核心成员包括 tools、AgentscopeToolsEndpoint。

GET /actuator/agentscope-tools: per-Toolkit-bean list of registered tools.

构造器摘要Constructor Summary

构造器Constructor说明Description
public AgentscopeToolsEndpoint(AgentInventory inventory)
初始化 `AgentscopeToolsEndpoint` 实例。
Creates a new instance.

方法摘要Method Summary

方法Method说明Description
public Map<String, List<String>> tools()
返回工具。
Returns the tools.

构造器详情Constructor Detail

AgentscopeToolsEndpoint

public AgentscopeToolsEndpoint(AgentInventory inventory)

初始化 AgentscopeToolsEndpoint 实例。

Creates a new instance.

参数Parameters
名称Name类型Type说明Description
inventoryAgentInventory清单(类型 `AgentInventory`)。The inventory.
源码Source io/agentscope/spring/boot/admin/endpoint/AgentscopeToolsEndpoint.java:30–32

方法详情Method Detail

tools

public Map<String, List<String>> tools()

返回工具。

Returns the tools.

返回Returns Map<String, List<String>>
返回映射>。Returns map.
源码Source io/agentscope/spring/boot/admin/endpoint/AgentscopeToolsEndpoint.java:34–37
基于官方固定版本源码静态生成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.