redmine_view_attachment
Fetch a Redmine image attachment inline so a model can view it. Supports PNG/JPEG/GIF/WebP; oversized or other types return an error with download guidance.
Instructions
Return an image attachment inline so a model can see it.
PNG/JPEG/GIF/WebP attachments are returned as MCP image content. Other
types, or images larger than max_bytes (default 5 MB), return a
structured error pointing at redmine_download_attachment.
Args: attachment_id: numeric Redmine attachment id. max_bytes: inline size ceiling; larger images are refused.
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": {
"attachment_id": "<attachment_id>"
},
"name": "redmine_view_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_bytes | No | ||
| attachment_id | Yes |