Get a download URL for a converted file
get_download_urlReturns the download URL of a converted file. Pass 'job_id' (conversion uid) to resolve the converted file of a finished conversion, or 'file_id' to download a known file uid directly. The URL needs no authentication (the unguessable file id is the capability), so it can be handed to the user or another system as-is. It stops working when the file's retention ends — about one hour after conversion by default — so download or share it promptly.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_download_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | The conversion job id (conversion uid). When given, the converted file uid is resolved from the completed conversion. Provide either job_id or file_id. | |
| file_id | No | A file uid to download directly. Provide either job_id or file_id. |