Retry failed batch items
retry_failed_batchRe-queue failed items from a finished batch as a new AI translation batch, then poll the returned batch ID for status.
Instructions
Re-queue the FAILED items of a finished batch as a new AI translation batch. SPENDS AI word quota and conflicts with a running batch (active-batch, HTTP 409). Returns the new batch; poll get_batch_status with its id. Requires the "manage" ability.
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": {
"batch_id": "<batch_id>"
},
"name": "retry_failed_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | Id of the finished batch whose failed items should be retried. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| total | Yes | ||
| failed | Yes | ||
| status | Yes | ||
| trigger | Yes | ||
| failures | No | ||
| completed | Yes | ||
| started_at | Yes | ||
| finished_at | Yes | ||
| language_breakdown | Yes |