Skip to main content

GetAgents

Lists the agents of the tenant with their mandates, or shows one agent with -a. Calls the MCP tools list_agents / get_agent with your token; changes nothing.

Examples​

List the agents of the tenant of the context:

octo-cli -c GetAgents

Show one agent with its grants and whether its service-account client is enabled:

octo-cli -c GetAgents -a "Knowledge curator"

Options​

ShortLongRequiredDescription
-a--agentnoRuntime id or name of one agent to show in detail. Default: list every agent
-tid--tenantIdnoId of the tenant. Default: the tenant of the context
-json--jsonnoPrint the answer of the MCP tool as JSON

Notes​

A read: your roles in the tenant decide whether you may read its agents (the engine checks them). Only the write commands (CreateAgent, UpdateAgent, EnableAgent, DisableAgent) need a tenant administrator.

Calls <McpServiceUrl of the context>/<tenant>/mcp (set it once with AddContext -msu or Config -msu).