read_issue_attachment
Read the content of one Issue attachment by id (get the id from list_issue_attachments or get_issue). Text files return decoded text; images return a viewable image, which is what makes a screenshot on a bug report usable; other binaries return base64 when small. Files over 8 MB return metadata only. Caller must be able to read the issue.
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": {
"issueId": "<issueId>",
"attachmentId": "<attachmentId>"
},
"name": "read_issue_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issueId | Yes | The issue id. | |
| attachmentId | Yes | The attachment id (from list_issue_attachments). |