AS AgentScopeAPI 手册 / API Reference

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
nameString
执行名称相关操作。
Performs the name operation.
descriptionString
执行 `description` 方法。
Performs the description operation.
toolsList<String>
执行工具相关操作。
Performs the tools operation.
workspaceModeString
执行工作区模式相关操作。
Performs the workspace mode operation.
urlString
执行URL相关操作。
Performs the url operation.
invokeCountlong
调用数量。
Invokes the count.
lastInvokedAtlong
执行 `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–105

description

String description

执行 description 方法。

Performs the description operation.

源码Source io/agentscope/extensions/controlplane/model/Inventory.java:73–105

tools

List<String> tools

执行工具相关操作。

Performs the tools operation.

源码Source io/agentscope/extensions/controlplane/model/Inventory.java:73–105

workspaceMode

String workspaceMode

执行工作区模式相关操作。

Performs the workspace mode operation.

源码Source io/agentscope/extensions/controlplane/model/Inventory.java:73–105

url

String url

执行URL相关操作。

Performs the url operation.

源码Source io/agentscope/extensions/controlplane/model/Inventory.java:73–105

invokeCount

long invokeCount

调用数量。

Invokes the count.

源码Source io/agentscope/extensions/controlplane/model/Inventory.java:73–105

lastInvokedAt

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.

返回Returns Map<String, Object>
返回映射。Returns map.
源码Source io/agentscope/extensions/controlplane/model/Inventory.java:82–104
基于官方固定版本源码静态生成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.