download_attachment
Download same-site assets anonymously, or use an authenticated role to fetch protected files. Saves to workspace/downloads with SHA256 verification and never overwrites existing files.
Instructions
Download a same-site asset anonymously; select a role only for an authenticated proxy.
Saves to workspace/downloads with SHA256 verification; never overwrites.
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_path": "<asset_path>",
"filename": "<filename>"
},
"name": "download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | public | |
| filename | Yes | ||
| asset_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||