confluence_delete_attachment
Delete a file attached to a Confluence page. Preview the action and confirm to permanently remove it.
Instructions
Delete an attachment from a Confluence page.
DESTRUCTIVE: This permanently removes the attachment. By default this tool
runs in preview mode — call with confirm=True to actually delete.
You MUST show the preview to the user and get their explicit approval before
calling again with confirm=True.
Args:
page_id: A numeric page ID or a Confluence URL (including short /wiki/x/ links).
attachment_title: The filename of the attachment to delete.
confirm: Must be True to actually delete. False (default) shows a preview.
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": {
"page_id": "<page_id>",
"attachment_title": "<attachment_title>"
},
"name": "confluence_delete_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| page_id | Yes | ||
| attachment_title | Yes |