get_attachment_download_url
Generate a short-lived signed URL to download a note attachment's file bytes directly; URL expires in seconds. Encrypted attachments remain ciphertext with no decrypt path.
Instructions
A short-lived signed URL to download one attachment's file bytes directly (not through this tool) -- expires_in seconds from now. A ZK/ Vault/lock-encrypted note's attachment is still opaque ciphertext at that URL; there's no decrypt path here, same as a locked note's body.
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": {
"note_id": "<note_id>",
"attachment_id": "<attachment_id>"
},
"name": "get_attachment_download_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note_id | Yes | ||
| attachment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||