Fetch asset
fetch_assetConvert a /generated/ asset path or URL into a clickable absolute link and a direct download link, with an optional filename for downloads.
Instructions
Resolve a generated asset reference (a /generated/… path or any URL) to a clickable absolute URL + a direct download URL.
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": {
"url": "<url>"
},
"name": "fetch_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | the asset url or /generated/ path | |
| name | No | optional filename for the download |