fleet_run
Delegate tasks to configured local or remote AI coding agents, resume sessions, collect quick results, and keep attachable tmux sessions with sandbox egress checks.
Instructions
Delegate a task (or resume native session_id) on a configured target harness.
Use wait_sec (e.g. 20-45) to collect quick tasks in one call; longer tasks return run_id & resume_cmd.
Set use_tmux=True on remote servers to keep an attachable live tmux pane.
Respects each host's native tool configuration; enforces fail-closed sandbox egress checks on ssh+sbc.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>",
"prompt": "<prompt>"
},
"name": "fleet_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| mode | No | async | |
| model | No | ||
| title | No | ||
| caller | No | ||
| effort | No | ||
| prompt | Yes | ||
| target | Yes | ||
| use_tmux | No | ||
| wait_sec | No | ||
| raw_prompt | No | ||
| session_id | No |