docprocessor_create_convert_batch_upload
Creates a document conversion batch and a one-time upload URL; this call does not upload file bytes. sourceLanguageId is optional: resolve it with list_languages, or omit it for language detection. A client with file access and HTTP transfer capability must PUT raw bytes to uploadUrl before expiresAt. The URL ticket authorises upload; no Authorization header is required. Use the file MIME type or application/octet-stream, without JSON, multipart/form-data or Base64. A failed or interrupted PUT may consume the ticket. Preserve documentBatchId and finish all intended file uploads before wait_for_convert_batch. A completed batch can be used for document translation or project creation.
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_create_convert_batch_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expiresAt | No | UTC expiration of the one-time uploadUrl. Create another batch upload if it expires or the upload fails. | |
| uploadUrl | No | Complete one-time HTTPS upload URL containing a secret authorisation ticket. A client with access to the file must PUT its raw bytes to this exact URL before expiresAt. No Authorization header is required. Do not send JSON, multipart/form-data or Base64. Receiving this URL does not mean the file has been uploaded. | |
| uploadMethod | No | Required HTTP method for uploadUrl. Always PUT. | |
| documentBatchId | No | Generated identifier of the new conversion batch. Pass it to get_convert_batch_status or wait_for_convert_batch after uploading the file. | |
| uploadInstructions | No | Detailed streaming instructions for the MCP host. |