Get Attachment
keychain_get_attachmentDownload a Bitwarden attachment by item and attachment ID, returning raw bytes as base64 content with filename and byte count for local decoding.
Instructions
Download an attachment from a parent item and return raw bytes as contentBase64. Pass itemId plus an attachment id, or an unambiguous filename selector resolved from the item metadata before calling bw get attachment. The response includes filename, byte count, and base64 content for local decoding. If the expected attachment filename is missing from keychain_get_item metadata, run keychain_sync and keychain_get_item again before retrying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | Parent Bitwarden item id for attachment or item-specific operations. | |
| attachmentId | Yes | Attachment id returned by item metadata, or an unambiguous filename selector for downloads. |