delete_attachment
Permanently delete an OpenProject attachment by ID. Use confirm=true after reviewing the preview to apply deletion, since it cannot be undone.
Instructions
Delete an attachment; this cannot be undone.
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": "delete_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | false: preview only, nothing changes. true: applies it; get the user's approval of the preview first. | |
| attachment_id | Yes | Attachment id, from list_work_package_attachments. |