supervisor tool policy profile or an explicit allow list — they should not be exposed to general-purpose agents.
The browser tool also lives at the platform-management layer, but it has its own deep-dive page since it has 16 actions and 11 act sub-kinds. See Browser for that.
gateway — Configuration and Control
Thegateway tool is the Swiss Army knife for system management, with 11 actions — read, patch, apply, restart, schema, status, history, diff, rollback, env_set, and env_list — covering configuration, daemon restarts, change history, and the encrypted secret store.
Gateway Actions
read -- Read configuration values
read -- Read configuration values
| Parameter | Type | Required | Description |
|---|---|---|---|
action | string | Yes | "read" |
section | string | No | Config section name to read (e.g., "agents", "channels", "memory"). Omit to read the entire config. |
patch -- Update a configuration value
patch -- Update a configuration value
apply.| Parameter | Type | Required | Description |
|---|---|---|---|
action | string | Yes | "patch" |
section | string | Yes | Config section name (e.g., "agents", "channels", "security") |
key | string | Yes | Dot-notation key within section (e.g., "maxSteps", "budget.maxTokens") |
value | any | Yes | The new value to set (string, number, boolean, object, or array) |
patch are held in memory only. Call apply to write them to disk and reload the configuration. Immutable security-sensitive config paths are rejected before confirmation.apply -- Save and reload configuration
apply -- Save and reload configuration
| Parameter | Type | Required | Description |
|---|---|---|---|
action | string | Yes | "apply" |
section | string | Yes | Config section to replace |
value | any | Yes | The complete new section value |
_confirmed parameter. After calling apply, the daemon restarts and new settings are active immediately.restart -- Restart the daemon
restart -- Restart the daemon
| Parameter | Type | Required | Description |
|---|---|---|---|
action | string | Yes | "restart" |
schema -- View configuration schema
schema -- View configuration schema
| Parameter | Type | Required | Description |
|---|---|---|---|
action | string | Yes | "schema" |
section | string | No | Config section to inspect (omit for the full config schema) |
status -- Check system health
status -- Check system health
| Parameter | Type | Required | Description |
|---|---|---|---|
action | string | Yes | "status" |
history -- View recent config changes
history -- View recent config changes
| Parameter | Type | Required | Description |
|---|---|---|---|
action | string | Yes | "history" |
section | string | No | Filter history to a specific config section |
limit | number | No | Maximum number of entries to return (default: 10) |
diff -- Compare config versions
diff -- Compare config versions
apply.| Parameter | Type | Required | Description |
|---|---|---|---|
action | string | Yes | "diff" |
sha | string | No | Git commit SHA to compare against. Omit to compare against the version saved on disk. |
rollback -- Revert to a previous config
rollback -- Revert to a previous config
| Parameter | Type | Required | Description |
|---|---|---|---|
action | string | Yes | "rollback" |
sha | string | Yes | The git commit SHA to revert to (visible in the history output) |
env_set -- Set an environment variable
env_set -- Set an environment variable
${VAR_NAME}.| Parameter | Type | Required | Description |
|---|---|---|---|
action | string | Yes | "env_set" |
env_key | string | Yes | Environment variable / secret name (uppercase, e.g., OPENAI_API_KEY) |
env_value | string | Yes | Secret value to store. Write-only: cannot be read back. |
env_list -- List configured secret names
env_list -- List configured secret names
| Parameter | Type | Required | Description |
|---|---|---|---|
action | string | Yes | "env_list" |
filter | string | No | Glob filter on secret names (e.g., "GEMINI*", "*_API_KEY"). Case-insensitive, supports * wildcard. |
limit | number | No | Maximum names to return (default: 100, max: 500). |
background_tasks — Long-Running Task Queue
Thebackground_tasks tool lets agents inspect and manage the daemon’s background task queue — the in-flight execution surface for spawned sub-agents, async pipelines, and long-running tool calls.
| Action | Description |
|---|---|
list | List active background tasks with status, age, and task type |
get | Get full state of a single task by ID |
cancel | Cancel a running task (destructive; requires _confirmed) |
read_output | Tail recent stdout/stderr output for a task |
background_tasks to triage a stuck async sub-agent, peek at incremental output without waiting for completion, or kill a runaway job. Permissions are gated to admin-trust agents because cancellation can affect other users’ work.
mcp_manage — MCP Server Lifecycle
Themcp_manage tool controls connections to external Model Context Protocol (MCP) servers. It is also referenced in the Supervisor section below; conceptually it sits in both buckets because MCP servers are infrastructure (the daemon’s external tool surface) but management is admin-trust gated.
| Action | Description |
|---|---|
list | List configured MCP servers with their transport (stdio / SSE / HTTP), URL/command, and enabled flag |
status | Per-server connection status (connected / connecting / disconnected / error) and last health check |
connect | Open a connection to a configured server (also discovers tools and qualifies them as mcp:{server}/{tool}) |
disconnect | Close the connection without removing the server config |
reconnect | Tear down and re-establish the connection (use this when an SSE transport gets wedged) |
applyToolPolicy filtering all apply.
Supervisor Tools
Supervisor tools are admin-level capabilities for managing the entire Comis installation. They require thesupervisor tool policy profile or an explicit allow list in your agent’s configuration.
| Tool | Actions | What It Manages |
|---|---|---|
agents_manage | create, get, update, delete, suspend, resume | Agent fleet — create new agents, modify settings, suspend or resume them |
obs_query | diagnostics, billing, delivery, channels | Observability — system diagnostics, cost tracking, and delivery metrics |
sessions_manage | delete, reset, export, compact | Session lifecycle — clean up, export, and compact conversation data |
memory_manage | stats, browse, delete, flush, export | Memory lifecycle — view stats, browse entries, and clean up memory |
channels_manage | list, get, enable, disable, restart, configure | Channel adapters — manage connected chat platforms |
tokens_manage | list, create, revoke, rotate | Gateway tokens — manage API authentication tokens |
models_manage | list, test | Model catalog — view available models and test connections |
skills_manage | list, import, delete | Skill lifecycle — manage custom skills |
providers_manage | list, get, create, update, delete, enable, disable | LLM provider endpoints — register and manage custom model providers |
mcp_manage | list, status, connect, disconnect, reconnect | MCP connections — manage external tool servers |
Supervisor Tool Details
agents_manage -- Agent fleet management
agents_manage -- Agent fleet management
- create — Create a new agent with a specified configuration
- get — Retrieve an agent’s current settings
- update — Modify an agent’s configuration (model, provider, system prompt, etc.)
- delete — Permanently remove an agent
- suspend — Temporarily disable an agent (stops responding to messages)
- resume — Re-enable a suspended agent
obs_query -- Observability and metrics
obs_query -- Observability and metrics
- diagnostics — System health overview (memory usage, uptime, error rates)
- billing — AI provider cost tracking and budget usage
- delivery — Message delivery success rates and latency
- channels — Per-channel health and connection status
sessions_manage -- Session lifecycle
sessions_manage -- Session lifecycle
- delete — Permanently remove a session and its history
- reset — Clear a session’s conversation history while keeping the session active
- export — Export a session’s conversation data
- compact — Compress a session’s history to reduce storage
memory_manage -- Memory lifecycle
memory_manage -- Memory lifecycle
- stats — View memory usage statistics (entry count, storage size, index health)
- browse — Browse stored memory entries with filters
- delete — Remove specific memory entries
- flush — Clear all memory for an agent
- export — Export memory entries for backup or analysis
channels_manage -- Channel adapter management
channels_manage -- Channel adapter management
- list — List all configured channels and their status
- get — Get detailed information about a specific channel
- enable — Enable a disabled channel
- disable — Disable a channel without removing its configuration
- restart — Restart a channel’s connection
- configure — Update a channel’s configuration
tokens_manage -- Gateway token management
tokens_manage -- Gateway token management
- list — List all active tokens
- create — Generate a new authentication token
- revoke — Revoke an existing token
- rotate — Replace a token with a new one (revokes the old token and creates a new one)
models_manage -- Model catalog
models_manage -- Model catalog
- list — List all configured models with their providers and capabilities
- test — Test a model connection by sending a simple prompt
skills_manage -- Skill lifecycle
skills_manage -- Skill lifecycle
- list — List all discovered skills with their status and metadata
- import — Import a skill from a file or URL
- delete — Remove a custom skill
"local"(default) — operates on the calling agent’s workspace skills directory"shared"— operates on the global skills directory (default agent only)
"local", so an agent’s skill mutations are isolated to its own workspace unless explicitly targeting the shared directory.providers_manage -- LLM provider management
providers_manage -- LLM provider management
- list — View all configured providers (name, type, status, model count)
- get — Read full provider configuration for a specific provider
- create — Register a new provider (requires approval)
- update — Modify an existing provider’s configuration
- delete — Remove a provider (requires approval, blocked if agents reference it)
- enable — Activate a disabled provider
- disable — Deactivate a provider (warns if agents reference it)
| Parameter | Type | Required | Description |
|---|---|---|---|
action | string | Yes | One of: list, get, create, update, delete, enable, disable |
provider_id | string | For all except list | Provider identifier (e.g., “nvidia”, “deepseek”) |
config | object | For create/update | Provider configuration (type, baseUrl, apiKeyName, models) |
Model failover -- automatic recovery from provider outages
Model failover -- automatic recovery from provider outages
agents_manage update. When the primary model fails, the agent automatically tries fallback models in order.Failover pipeline:- Primary model attempt (with resettable timeout)
- Cache-aware short retry on 429/529 (preserves prompt cache)
- Auth key rotation if
authProfilesconfigured (same provider, different key) - Ordered fallback model loop (different provider + model)
- Exhaustion event if all attempts fail
mcp_manage -- MCP server management
mcp_manage -- MCP server management
- list — List all configured MCP servers
- status — Check the connection status of MCP servers
- connect — Establish a connection to an MCP server
- disconnect — Disconnect from an MCP server
- reconnect — Restart the connection to an MCP server
