Cancel a translation job
cancel_translation_jobCancel a translation job. Segments already translated are kept (get_translation_job returns them) and the characters of the rest are given back. Cancelling a job that has already ended changes nothing.
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": "cancel_translation_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | The job id returned by create_translation_job. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| error | No | ||
| jobId | Yes | ||
| result | No | ||
| status | Yes | queued, running, succeeded, failed or cancelled. | |
| blocked | No | ||
| partial | No | The job ended early; result holds only the finished segments. | |
| progress | Yes | ||
| replayed | No | ||
| warnings | No | ||
| createdAt | No | ||
| requestId | No | The API request id; quote it when you contact support. | |
| updatedAt | No | ||
| sourceLang | No | ||
| targetLang | No | ||
| refundedChars | No | ||
| pollAfterSeconds | No | Wait about this long before polling again. |