List bug attachments
get_bug_attachmentsList attachments on a Bugzilla bug and their metadata, such as titles, types, and sizes. Provide a bug ID to view patches, screenshots, logs, and test cases without fetching content.
Instructions
List attachments (patches, screenshots, logs, test cases) on a bug with metadata. Attachment content is not included; use get_attachment to fetch a specific attachment's content.
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": {
"bug_id": "<bug_id>"
},
"name": "get_bug_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bug_id | Yes | Bug ID or alias | |
| include_obsolete | No | Include attachments marked obsolete |