Read attachment / screenshot
gitlab_read_attachmentRetrieve and view files attached to GitLab issues, merge requests, and comments. Downloads images as viewable pictures, text as plain text, and other files as base64 resources.
Instructions
Downloads an attached file from GitLab with authentication and returns it. PNG/JPEG/GIF/WebP images come back as viewable images, text files as text, anything else as a base64 resource. This is how you look at screenshots pasted into issues, merge requests and comments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Attachment URL. Accepts a full URL (https://gitlab.example.com/group/project/uploads/<secret>/shot.png) or the relative `/uploads/<secret>/shot.png` form copied straight out of an issue description. | |
| project_id | No | Project id or URL-encoded path, e.g. `42` or `group/subgroup/project`. Falls back to GITLAB_PROJECT_ID. |