agent_list
Retrieve all registered agents and their current status from the orchestrator. Use to verify agent existence and status before spawning or stopping.
Instructions
List all agents registered with the orchestrator and their current status. Read-only — no side effects. Returns {ok:true, agents:[{agentId, status, lastSeen, taskCount}], count}. Returns {ok:false, error:"..."} if the registry is unavailable. status_filter accepts one of: "active", "idle", "stopped", or "error" — omit to return all statuses. Call before agent_spawn or agent_stop to confirm the target agent exists and has the expected status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status_filter | No | Filter by status (optional): active, idle, stopped, error |