download_attachment
Retrieve a Zendesk attachment by ID from ticket comments to view images, read text inline, or save other files to a specified path.
Instructions
Fetch an attachment (IDs come from list_ticket_comments). Images are returned so you can see them, text files are returned inline; anything else must be saved with save_to.
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": {
"attachment_id": "<attachment_id>"
},
"name": "download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_to | No | Save to this path inside ZENDESK_FILE_ROOT instead of returning content. | |
| attachment_id | Yes |