gitlab_get_issue_images
Extract image references from GitLab issue descriptions and notes. Optionally download images as base64 for model inspection.
Instructions
Extract image references from issue description/notes. When include_base64=true, download each image, return base64 metadata, and attach MCP image content blocks so the model can inspect the image itself.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gitlab_get_issue_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | GitLab project ID. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_ISSUE_PROJECT_ID overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value. | |
| issue_iid | No | Issue IID. | |
| include_notes | No | Whether to extract images from issue notes as well. | |
| include_base64 | No | Whether to download every extracted image and include base64. | |
| max_images | No | Maximum number of image references to return. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded. | |
| tool | Yes | Tool name. | |
| data | No | Parsed issue image references with optional base64 payloads. | |
| error_type | No | Error type when ok=false. | |
| message | No | Error message when ok=false. |