docprocessor_translate_convert_batch
Starts translation of successfully converted source files into targetLanguageIds and waits for the outcome. Read get_document_translation_guide for the complete file-translation workflow. Call only when conversion status is completed, including partial conversion success. Uses the source language declared when the batch was created, or the language detected during conversion if none was declared. Rejects batches whose successfully converted files have different source language codes; upload those files in separate batches. Use list_languages for targetLanguageIds. Supports optional MCP Task execution when requested by the client; otherwise waits within this tool call. Do not call again to poll: each call attempts to start translation. On success returns structured content with a one-time ZIP download URL, filename and expiry. Report failedFiles as skipped conversion failures. Download using one HTTP GET without an Authorization header; the URL ticket authorises access.
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": {
"request": "<request>"
},
"name": "docprocessor_translate_convert_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Final translation state: completed or failed. completed can include failedFiles when conversion partially failed. | |
| message | No | Human-readable explanation of the translation outcome. | |
| failedFiles | No | Files skipped because conversion failed. Report these failures to the user. When status is completed, the ZIP contains translations of the successfully converted files. This is not a list of translation errors. | |
| documentBatchId | No | The translated document batch identifier. | |
| downloadFileName | No | Suggested filename of the translated ZIP. Null when translation failed. | |
| downloadExpiresAt | No | UTC expiration of signedDownloadUrl. Null when translation failed. | |
| signedDownloadUrl | No | One-time HTTPS URL for an application/zip file. Download with a single full HTTP GET before downloadExpiresAt. The ticket in the URL authorises access; no Authorization header is required. A download attempt consumes the ticket; retries and ranged/resumed downloads are not supported. Treat the URL as a secret and do not fetch it just to preview or validate it. Null when translation failed. |