get_contact_attachment
Retrieve a specific contact attachment by filename from Holded. Use a filename returned by the contact attachment list to fetch the attachment for a known contact.
Instructions
Get a specific attachment from a contact by filename (Holded API v2). BREAKING CHANGE from v1: the path parameter changed from attachmentId (numeric/UUID) to filename (string). Obtain filenames from list_contact_attachments first.
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": {
"contactId": "<contactId>",
"filename": "<filename>"
},
"name": "get_contact_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Attachment filename as returned by list_contact_attachments | |
| contactId | Yes | Contact ID |