Get Zendesk Ticket Attachments
get_ticket_attachmentsFetch all attachments from a Zendesk ticket, embedding images inline and listing other files as text references. Optionally retrieve specific attachments by ID.
Instructions
Retrieve ticket attachments. Images are embedded inline; other files are listed as text references.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticket_id | Yes | Ticket ID | |
| attachment_ids | No | Attachment IDs to fetch directly (e.g. extracted from a previous get_ticket(include_comments=true) call). When provided, skips the comments fetch entirely. When omitted, all attachments of the ticket are returned. |