Delete Wiki attachment
wiki_attachments_deleteDelete an attachment from a wiki page — irreversible (no recovery token).
Instructions
Delete an attachment from a wiki page — irreversible (no recovery token).
The API answers 204 No Content; a typed acknowledgement is returned instead. Find
file_id with attachments_list and double-check it before calling.
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>",
"file_id": "<file_id>"
},
"name": "wiki_attachments_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none). | |
| file_id | Yes | Numeric id of the attachment to delete. | |
| page_id | Yes | Numeric id of the page the file is attached to. |