Download GitLab attachment
download_gitlab_attachmentFetch GitLab issue or merge-request uploads as base64 data, validating same-instance paths for secure attachment access.
Instructions
Download a same-instance GitLab issue or merge-request upload as bounded base64 data. Only GitLab upload paths are accepted.
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": {
"url": "<url>"
},
"name": "download_gitlab_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| max_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | GitLab response normalized for model use. |