Get ticket attachment
get_ticket_attachmentFetch one file attached to a board card and return it as an inline image. Arguments: projectId, cardId (same as get_ticket — a card NUMBER or uuid), and attachmentIndex, the 0-based index from get_ticket's trailing attachment list (default 0). Returns an image when the file's BYTES are a recognized image format and it is no larger than 2097152 bytes; otherwise returns text explaining why, with a signed URL. The type a card attachment declares is not verified, so it is never what decides.
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": {
"projectId": "<projectId>",
"cardId": "<cardId>"
},
"name": "get_ticket_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cardId | Yes | ||
| projectId | Yes | ||
| attachmentIndex | No |