Get a download link
download_assetGet a temporary download link for an asset's file in the cloud. Returns a presigned HTTPS link that reads only that one file and expires after some hours (expiresAt), with the file name, MIME type and byte size, and a curl command that streams the file to disk. The link supports HTTP Range requests, so a large file downloads in parts or resumes with curl -C -. If it expires, call download_asset again for a new link. Give the link to the user when they want to save the file, or run the command from the agent machine. Do not fetch the file through tool calls. A file that is still uploading or processing cannot be downloaded yet: call wait_for_asset first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | edit or null: the file the editor uses (a video's encoded MP4 copy, or the image or sound itself). original: a video's original file, kept only when it was uploaded with keepOriginal true. | |
| assetId | Yes | The asset to download: its Asset ID from search_assets. | |
| projectId | Yes | The project this call runs on without changing the open project. null (or leaving it out) uses the open project. wait_for_jobs takes the projectId of the calls that started the jobs. |