get an asset download url
assets_get-download-urlGet a signed download link for an asset's original media file by ID so the user can download or save it. Returns the URL as a plain string, or 404 if the asset is missing.
Instructions
Get a download link for one asset's original media file, by id. Use it when the user wants to download or save the file; use assets_get for the asset's details and media url, and assets_get-playback-metadata for frame timing. For files in sync. storage the link is signed, valid for up to 7 days and downloads under the asset's name; an asset registered from an outside URL returns that URL unchanged. Returns the URL as a plain string, or 404 when the asset does not exist, was deleted or you cannot see it. Return the URL exactly as given, query string included, and request a fresh one instead of reusing an old link.
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": {
"id": "<id>"
},
"name": "assets_get-download-url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Asset id (UUID) from assets_list or assets_get, not a generation id; for a generation's output use its outputMediaUrl from generations_get. |