Get conversion
get_conversionCheck a previously started file conversion, save its completed result locally once, and return the saved paths and download links.
Instructions
Check a conversion started earlier; once it's completed, save the result locally (once) and return the paths and download links.
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": {
"conversion_id": "<conversion_id>"
},
"name": "get_conversion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_to | No | Folder to save the result in (default: where convert_file would have saved it) | |
| download | No | Save the result locally (default true) | |
| wait_seconds | No | Wait up to this long for it to finish (default 0) | |
| conversion_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | Yes | true once completed or failed | |
| next | No | What to do next when the job isn't finished or failed | |
| error | No | ||
| action | No | ||
| status | Yes | pending, queued, processing, completed or failed | |
| zipUrl | No | Signed download link for all outputs as one ZIP | |
| resultUrl | No | Signed download link for the (first) output | |
| inputFiles | Yes | ||
| savedFiles | No | Local paths the result was saved to | |
| outputCount | No | ||
| zipFileName | No | ||
| conversionId | Yes | ||
| resultNotice | No | Present when the result is partial or the input was damaged | |
| queuePosition | No | ||
| resultFileName | No | ||
| estimatedSeconds | No | ||
| expiresInSeconds | No |