fleet_dispatch
Send an operational instruction to an idle ship in the fleet, resuming its session to advance a task or report status without competing with live user activity.
Instructions
Dispatch an operational instruction to another ship (CC session) in the fleet.
The fleet down-channel drives an EXISTING idle session to run one turn via
headless claude -p --resume (fleet-layer design §4). Use it to nudge an idle
ship to advance a task or report its status - NOT to make strategic decisions on
the user's behalf (the dispatched turn is constrained to operational work).
Safety gate (enforced server-side, no subprocess spawns until it passes):
The target must be RESUMABLE: its transcript file still exists.
The target must NOT be user-live: its file must be idle beyond a conservative guard (FLEET_DISPATCH_MIN_IDLE_SECONDS, > the 15min live window) so a dispatch never competes with someone typing in that session. A too-fresh target is refused with availability="live".
Dispatches are deduped per-session, share the global wake concurrency limit and circuit breaker, and every one is ledgered in wake_sessions.
Get target_session_id from the fleet view / project summary (each ship's session_id). This tool RECOMMENDS nothing and DECIDES nothing strategic; it only relays an operational instruction to an idle ship.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_turns | No | Max turns for the dispatched run (0 = server default) | |
| project_id | No | Project scope (optional; inferred from the session's agents if empty) | |
| instruction | Yes | The operational instruction (advance task X / report status / etc.) | |
| tools_level | No | Tool preset for the dispatched turn - "safe" (default) or "with_bash" (adds Bash). Never exceeds the requested preset. | safe |
| target_session_id | Yes | The ship's CC session id to resume and dispatch to |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||