attachFileToIssue
attachFileToIssueUpload a server-local file and attach it to an existing Redmine issue by providing issue ID and file path. Retries may create duplicate attachments.
Instructions
Upload a readable server-local file and attach it to one existing Redmine issue. This is non-idempotent and retries may create duplicate attachments; getAttachment performs the reverse read/download flow.
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": {
"issueId": "<issueId>",
"localPath": "<localPath>"
},
"name": "attachFileToIssue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issueId | Yes | ||
| localPath | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issueId | Yes | ||
| journalId | No | ||
| attachmentId | No |