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 |
|---|---|---|
inventory | AgentInventory | 清单(类型 `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.
Map<String, List<String>>返回映射>。Returns map.
源码Source
io/agentscope/spring/boot/admin/endpoint/AgentscopeToolsEndpoint.java:34–37