Retry a failed run
retry_runRelaunch a failed simulation by starting a fresh package build as a new run when status is 'error', preserving the errored run's status and error history.
Instructions
Retry a failed simulation run.
Needs a launch-level agent key (a retry rebuilds the package and can start AWS Batch); a read or draft key gets 403 AGENT_LEVEL_INSUFFICIENT.
Starts a fresh package build of the run's scenario as a NEW run, which
becomes the scenario's latest run. The errored run keeps its status and
error as history, and the response describes that old run; the new run's
ID is get_scenario's run_id. Only valid when status is 'error'. Returns
409 for any other state.
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": {
"run_id": "<run_id>"
},
"name": "retry_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The run ID to retry |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||