Start a translation job
create_translation_jobStart an asynchronous translation job for up to 500 texts. Returns a job id at once; poll get_translation_job for progress and the translations. Source characters are charged when the job is created; a job that is cancelled or fails gives back the characters it did not translate. Needs a paid plan. An identical request repeated within 24 hours returns the same 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": {
"segments": "<segments>"
},
"name": "create_translation_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guide | No | ||
| style | No | Vietnamese style preferences. | |
| glossary | No | Terms with their required translations. | |
| profiles | No | Domain profiles that add rules, e.g. ui-strings, contract-legal, web-seo. | |
| segments | Yes | 1 to 500 texts to translate. | |
| sourceLang | No | en | |
| targetLang | No | vi (default), or a beta target your key is enabled for (see list_targets). | vi |
| idempotencyKey | No | Optional. Requests with the same key and the same input within 24 hours return the stored answer instead of being billed again. By default the key is derived from the input, so an identical repeat is not billed twice; pass a new key to force a fresh run. | |
| useTranslationMemory | No |
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. |