Get file download URL
get_file_download_urlMint a short-lived (1 hour) signed download URL for a file in the caller's organization. Pass fileId from list_files or from a completed job's output (audio_redaction.redactedAudio.fileId, bg_remover.cutout.fileId). The URL is a capability for that object — do not share it outside the organization. A file from another organization is refused.
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": {
"fileId": "<fileId>"
},
"name": "get_file_download_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | File id from list_files, or from a completed job's output (e.g. audio_redaction.redactedAudio.fileId, bg_remover.cutout.fileId). |