download_attachment
Fetch uploaded files from GitLab by project, secret, and filename. Images are returned inline as base64 for viewing; non-images are saved to disk. Use local_path to save images to disk.
Instructions
Download an uploaded file from a GitLab project by secret and filename. Image files (png, jpg, gif, webp, svg, bmp, ico) are returned inline as base64 image content so the AI can view them directly. Non-image files are saved to disk. Use local_path to force saving image files to disk instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| secret | Yes | The 32-character secret of the upload | |
| filename | Yes | The filename of the upload | |
| local_path | No | Local path to save the file (optional, defaults to current directory) | |
| project_id | Yes | Project ID or URL-encoded path of the project |