Download asset
download_assetGet a generated (or uploaded) file. asset is an asset id or the asset url from a job status.
Locally (stdio) the file is saved to path (default: current directory, named after the asset id)
and the saved path is returned. Remotely (HTTP) nothing is saved: a short-lived signed download URL is
returned instead, and path/overwrite are ignored (the result says so); download the url yourself.
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": {
"asset": "<asset>"
},
"name": "download_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| asset | Yes | ||
| overwrite | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||