Create Attachment
keychain_create_attachmentAttach base64-encoded file content to an existing vault item and get the updated item summary with secrets redacted by default, or with reveal if allowed.
Instructions
Attach base64-encoded file bytes to an existing item. Returns the updated item summary with normal redaction rules, so secrets stay hidden unless reveal is allowed.
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": {
"itemId": "<itemId>",
"filename": "<filename>",
"contentBase64": "<contentBase64>"
},
"name": "keychain_create_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | Parent Bitwarden item id for attachment or item-specific operations. | |
| reveal | No | Whether secret values are returned; default false and can be forced false by NOREVEAL. | |
| filename | Yes | Visible attachment or send filename stored in Bitwarden metadata. | |
| contentBase64 | Yes | Base64-encoded file bytes, not a filesystem path. |