AS AgentScopeAPI 手册 / API Reference

AgentscopeCommandsEndpoint

@Endpoint(id = "agentscope-commands") public class AgentscopeCommandsEndpoint
源码Source io/agentscope/spring/boot/admin/endpoint/AgentscopeCommandsEndpoint.java:29–42

Agentscope Commands 端点,承载智能体的部署、调度与服务化运行。位于 io.agentscope.spring.boot.admin.endpoint 包。核心成员包括 list、AgentscopeCommandsEndpoint。

GET /actuator/agentscope-commands: machine-readable catalog of every admin command exposed by this process. Equivalent to opencode's CLI /help dialog, but in JSON for CLI / Studio / Kubernetes operator clients to consume.

构造器摘要Constructor Summary

构造器Constructor说明Description
public AgentscopeCommandsEndpoint(AdminCommandRegistry registry)
初始化 `AgentscopeCommandsEndpoint` 实例。
Creates a new instance.

方法摘要Method Summary

方法Method说明Description
public List<AdminCommand> list()
返回列表。
Returns the list.

构造器详情Constructor Detail

AgentscopeCommandsEndpoint

public AgentscopeCommandsEndpoint(AdminCommandRegistry registry)

初始化 AgentscopeCommandsEndpoint 实例。

Creates a new instance.

参数Parameters
名称Name类型Type说明Description
registryAdminCommandRegistry注册表(类型 `AdminCommandRegistry`)。The registry.
源码Source io/agentscope/spring/boot/admin/endpoint/AgentscopeCommandsEndpoint.java:34–36

方法详情Method Detail

list

public List<AdminCommand> list()

返回列表。

Returns the list.

返回Returns List<AdminCommand>
返回列出。Returns list.
源码Source io/agentscope/spring/boot/admin/endpoint/AgentscopeCommandsEndpoint.java:38–41
基于官方固定版本源码静态生成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.