update_attachment
Update an attachment's filename or description in Redmine; file content cannot be changed, so delete and re-upload to replace the file.
Instructions
Update the metadata (filename and/or description) of an attachment.
The file content itself cannot be changed - delete the attachment and
upload a new file instead.
Args:
attachment_id: The ID of the attachment to update (required)
filename: New filename (optional)
description: New description (optional). Pass an empty string to
clear the description.
Returns:
Dictionary containing the updated attachment metadata.
Note:
Requires Redmine 3.4 or later.
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": "update_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | ||
| description | No | ||
| attachment_id | Yes |