update_attachment
Rename an attachment or change its description without re-uploading. Modify attachment metadata directly by ID in Redmine.
Instructions
Rename an attachment or change its description, without re-uploading it.
Available since Redmine 5.0; older versions respond with 404.
Args: attachment_id: attachment ID. file_name: new display name (empty = leave alone). description: new description (empty = leave alone).
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 |
|---|---|---|---|
| file_name | No | ||
| description | No | ||
| attachment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |