redmine_upload_attachment
Upload a file from allowed directories and attach it to a Redmine issue or return an upload token.
Instructions
Upload a file (path-restricted) and optionally attach it to an issue.
Args:
file_path: absolute or ~-relative path to a regular file.
Must resolve under one of REDMINE_MCP_ALLOWED_DIRECTORIES
(default /tmp); symlinks are resolved before checking.
issue_id: if non-zero, attach the upload to this issue. Otherwise
return the bare upload token for later attachment.
description: optional human-readable description for the
attachment (only meaningful when attaching).
Honors REDMINE_MCP_READ_ONLY.
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": {
"file_path": "<file_path>"
},
"name": "redmine_upload_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issue_id | No | ||
| file_path | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |