Retry a failed book job
retry_jobRetry a book job that has FAILED. Reads the original workflow input from the job's stored Step Functions execution and starts a fresh execution of the same state machine in rerun mode, so page images that were already generated are reused instead of being paid for again. Only works on jobs in FAILED status; check with get_job_status first. Returns the job with its new status and execution.
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": {
"jobId": "<jobId>"
},
"name": "retry_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | The jobId of the failed job, as returned by a book creation tool or get_job_status. |