getTicketAttachment
Fetch one attachment from a ticket conversation, using a resourceId taken from the attachment metadata on a message returned by getTicketDetails or getTicketMessagesBatch. Images are returned as viewable image content so you can inspect a screenshot directly; videos, files and oversized or unsupported images come back as metadata plus a time-limited download URL: share it with the user, or fetch it yourself when the user asks you to read or analyze the file. A metadata-plus-URL result is the intended answer for those cases, not an error — do not retry it. Download URLs differ on every call; the resourceId is the stable identity.
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": {
"productId": "<productId>",
"resourceId": "<resourceId>"
},
"name": "getTicketAttachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | ID of the beta project to query. Get valid IDs from the listProducts tool. | |
| resourceId | Yes | The UUID of the ticket attachment (attachment.resourceId from a ticket message). |