Get attachment
get_attachmentFetch a specific attachment from Bugzilla by ID. Text-based content is returned decoded, while binary attachments are returned as base64 when include_content is enabled.
Instructions
Fetch a single attachment by ID. Text-based attachments (patches, logs, text, JSON, HTML, source code) are returned decoded as text; binary attachments are returned as base64 when include_content is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_chars | No | Truncate decoded text content to this many characters | |
| attachment_id | Yes | ||
| include_content | No | Include the attachment content |