DisableAgent
Disables an agent of the tenant (kill switch): it starts no run and its service-account client is disabled (tenant administrators only). Calls the MCP tool set_agent_enabled with your token.
Examples
Disable the agent 'Knowledge curator' of the tenant of the context:
octo-cli -c DisableAgent -a "Knowledge curator"
Options
| Short | Long | Required | Description |
|---|---|---|---|
-a | --agent | yes | Runtime id or name of the agent |
-tid | --tenantId | no | Id of the tenant. Default: the tenant of the context |
-json | --json | no | Print the answer of the MCP tool as JSON |
Notes
Tenant administrators only (role TenantManagement or UserManagement); an agent's own token is refused.
Calls <McpServiceUrl of the context>/<tenant>/mcp (set it once with AddContext -msu or Config -msu).