Skip to content

Workflows

These workflows describe what the current main branch supports. Start every session read-only; each change needs its local grant, the matching Core permission, and your approval of the exact call.

Lists page through resources visible to the configured Core account in ascending name order with page_size 1–100 (default 30).

Example prompt
Show my Komodo servers and their state, then summarize fleet health
and list the workloads that need attention. Do not change anything.

list_servers → list_stacks → list_deployments → fleet_health

fleet_health keeps healthy, unhealthy, unavailable, and unknown observations distinct, and a failed source keeps the other results. See Diagnostic tools.

Use the three-tool walkthrough to list visible Stacks, copy the returned ID and diagnose one Stack. If your instance exposes additional evidence tools, you can follow the update, alert and log references it returns.

list_stacks → get_stack → stack_diagnose → get_update → list_alerts → get_stack_logs

stack_diagnose returns healthy, unhealthy, or inconclusive. It makes at most seven Core reads, keeps one 40-line log tail, and turns every failed source into a gap instead of discarding the rest. Historical rollout failures do not override confirmed current health. See Stack diagnosis.

Requires KOMODO_ALLOW_OPERATE=true and Core Execute on the target.

get_stack → deploy_stack → wait_for_update → stack_diagnose

Save the Core update ID when a receipt arrives. wait_for_update observes that ID for up to 30 seconds and can resume from a new session. If the reply was lost, reconcile_operation lists possible matches with unconfirmed attribution. See the recovery examples and workload operation semantics.

Requires KOMODO_ALLOW_CONFIGURATION_EDIT=true and Core Write; some fields also need the operate grant because Core can auto-deploy.

get_stack → preview_stack_update → apply_stack_update → get_stack

A preview returns a private, single-use reference bound to the exact change; it expires after ten minutes, and apply rejects stale or mismatched previews. Deployments, Servers, Repos, Builds, Procedures, Actions, Alerters, variables, tags, and schedules follow the same contract. See Typed configuration edits.

get_resource_sync_pending → review_resource_sync_pending → apply_resource_sync → wait_for_resource_sync_update

Reading pending changes is read-only. Refreshing them requires operate and Core Execute. Applying requires both grants and the exact single-use review; it rejects detected drift and submits at most one RunSync. See ResourceSync definitions.

list_swarms → list_swarm_services → diagnose_swarm_service → preview_deployment_scale → apply_deployment_scale → deploy_scaled_deployment → observe_deployment_scale

Inspection is read-only in every profile. Saving a replica count and deploying it are separate, explicitly granted steps; Core recreates the service, so interruption and a new service ID are possible. See Swarm inspection and Swarm scaling.

list_user_groups → get_effective_permission → preview_access_change → apply_access_change

Inspection reports direct records and the current caller’s effective permissions. Every apply requires both local grants and enabled Core admin authority. See Users, groups and access.

Each guide below is rendered directly from the repository’s versioned docs/ directory.

Inspect and diagnose

Operate and recover

Configure definitions

ResourceSync

Administration