SubagentInfo
public record SubagentInfo( String name, String description, List<String> tools, String workspaceMode, String url, long invokeCount, long lastInvokedAt)
源码Source
io/agentscope/extensions/controlplane/model/Inventory.java:73–105承载子智能体信息数据的记录类型。位于 io.agentscope.extensions.controlplane.model 包。核心成员包括 name、description、tools、workspaceMode、url、invokeCount。
A subagent reachable from this instance.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
name | String | 执行名称相关操作。 Performs the name operation. |
description | String | 执行 `description` 方法。 Performs the description operation. |
tools | List<String> | 执行工具相关操作。 Performs the tools operation. |
workspaceMode | String | 执行工作区模式相关操作。 Performs the workspace mode operation. |
url | String | 执行URL相关操作。 Performs the url operation. |
invokeCount | long | 调用数量。 Invokes the count. |
lastInvokedAt | long | 执行 `lastInvokedAt` 方法。 Performs the last invoked at operation. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public Map<String, Object> toJsonMap() | 返回到 JSON 映射。 Returns the to json map. |
记录组件详情Record Component Detail
name
String name执行名称相关操作。
Performs the name operation.
源码Source
io/agentscope/extensions/controlplane/model/Inventory.java:73–105description
String description执行 description 方法。
Performs the description operation.
源码Source
io/agentscope/extensions/controlplane/model/Inventory.java:73–105tools
List<String> tools执行工具相关操作。
Performs the tools operation.
源码Source
io/agentscope/extensions/controlplane/model/Inventory.java:73–105workspaceMode
String workspaceMode执行工作区模式相关操作。
Performs the workspace mode operation.
源码Source
io/agentscope/extensions/controlplane/model/Inventory.java:73–105url
String url执行URL相关操作。
Performs the url operation.
源码Source
io/agentscope/extensions/controlplane/model/Inventory.java:73–105invokeCount
long invokeCount调用数量。
Invokes the count.
源码Source
io/agentscope/extensions/controlplane/model/Inventory.java:73–105lastInvokedAt
long lastInvokedAt执行 lastInvokedAt 方法。
Performs the last invoked at operation.
源码Source
io/agentscope/extensions/controlplane/model/Inventory.java:73–105方法详情Method Detail
toJsonMap
public Map<String, Object> toJsonMap()
返回到 JSON 映射。
Returns the to json map.
Map<String, Object>返回映射。Returns map.
源码Source
io/agentscope/extensions/controlplane/model/Inventory.java:82–104