Delete Wiki page
wiki_pages_deleteDelete a wiki page by numeric id (DELETE /pages/{id}).
Instructions
Delete a wiki page by numeric id (DELETE /pages/{id}).
KEEP the returned recovery_token — it is the only handle to undo the delete
(redeem it with recovery_recover). Deleting removes the page's descendants'
anchor too, so double-check the id (pages_get_by_id) 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>"
},
"name": "wiki_pages_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). | |
| page_id | Yes | Numeric id of the page to delete. | |
| recursive | No | Also delete every page under it. |