docprocessor_wait_for_convert_batch
Waits while uploaded files are being converted. Call after all file upload PUT requests have succeeded. Supports optional MCP Task execution when requested by the client; otherwise waits within this tool call. Returns input_required immediately if no files are registered. Only status completed permits translate_convert_batch; failed means no file succeeded. Report failedFiles even when other files succeeded. Prefer this tool to repeatedly calling get_convert_batch_status.
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": {
"documentBatchId": "<documentBatchId>"
},
"name": "docprocessor_wait_for_convert_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentBatchId | Yes | documentBatchId returned by create_convert_batch_upload after its file has been uploaded. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Aggregate state: input_required means no file is registered yet; working means at least one file is processing; completed means no file is processing and at least one succeeded; failed means every file failed. Start translation only for completed. | |
| message | No | Human-readable summary of the aggregate status. | |
| failedFiles | No | Files that failed preprocessing and must not be sent to translation. | |
| documentBatchId | No | The batch identifier supplied to get_convert_batch_status or wait_for_convert_batch. | |
| successfulFiles | No | Names of successfully converted files, not file IDs. Wait for aggregate status completed before starting translation of the batch. |