Run a job again
rerun_jobRun a job again as a new job, on a fresh machine, with any run_job field changed, e.g. {"gpu_count": 2} or {"max_runtime_minutes": 240}. The variables of the first run are reused when you submitted it (they are never shown); anyone else sends them again as changes.variables. changes.variables is merged over them. Returns the new job, with rerun_of set, followed the same way as a run_job job.
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": {
"id": "<id>"
},
"name": "rerun_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the job to run again | |
| changes | No | run_job fields to change: variables (merged over the first run's), and under the API's names gpu_type, gpu_count, command, max_runtime_minutes, image, storage_id, name, region, capacity_wait_minutes, max_retries, retry_on, retry_exit_codes, tags, webhook_url | |
| workspace | No | Workspace ID (optional: defaults to the authenticated workspace) | |
| environment | No | Environment name (optional: defaults to the environment this session acts in) |