redmine_upload_attachment
Upload a local file to Redmine and receive an attachment token for attaching it to an issue or project Files module in later API calls.
Instructions
[Alpha] Upload a local file to Redmine and get an attachment token. Reads the file at the given absolute path and posts its content to Redmine's attachment API. Pass the returned token in the 'uploads' array of redmine_create_issue or redmine_update_issue to attach the file to an issue, or to redmine_upload_file to add it to a project's Files module. If the server is configured with REDMINE_UPLOAD_DIR, only files inside that directory can be uploaded.
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 |
|---|---|---|---|
| filename | No | ||
| file_path | Yes | ||
| content_type | No |