firefighter_submit
Queue heavy GPU or CPU work on a shared machine, returning the job ID, start estimate, cost, and next step; then wait for completion.
Instructions
Queue heavy work (GPU, or CPU over ~1 min) on this shared machine. Returns one line: job id, start estimate, cost, do: (next step). Then call firefighter_wait. Runs the command as you, outside any agent sandbox, with your network and files: only submit what you'd run in your own shell.
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": {
"command": "<command>",
"cwd": "<cwd>",
"minutes": "<minutes>"
},
"name": "firefighter_submit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Absolute working directory | |
| gpu | No | Needs the GPU | |
| net | No | Network-heavy (downloads, uploads); known installers and downloads are detected | |
| name | No | '<project> <what>' | |
| spot | No | Leftover time only; 1/3 price, paused first | |
| ram_gb | No | Peak RAM GB, if known | |
| urgent | No | Only when the human waits on the result; 2x price | |
| command | Yes | Shell command | |
| minutes | Yes | High-end runtime guess; a lease, billed 2x past 1.25x | |
| vram_gb | No | Peak VRAM GB, if known | |
| gpu_vendor | No | GPUs the job can use: nvidia, amd, intel or any (default NVIDIA if present) | |
| request_id | No | Idempotency key: a retry with the same key (same cwd project) returns the first job instead of queuing a copy |