Export attachment
export_attachmentDecrypt and export file attachments from an unlocked Enpass vault. Write to disk by default, or return small files as base64 with inline=true.
Instructions
Decrypts a file attachment from an unlocked vault. By default it writes the file to disk and returns the path (works for any size). Set inline=true to get small files as base64 instead.
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": {
"vault": "<vault>",
"uuid": "<uuid>",
"attachment": "<attachment>"
},
"name": "export_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest | No | Destination directory (default: OS temp dir) | |
| uuid | Yes | Entry uuid (from list_items) | |
| vault | Yes | Registered vault name | |
| inline | No | Return small files as base64 instead of writing to disk | |
| attachment | Yes | Attachment name or index (from list_attachments) |