Delete a Docmost page
delete_pageMoves a page and its subpages to the space trash so they can be restored later, without permanent deletion.
Instructions
Moves a page and its subpages to the space's trash, from which they can be restored, and never deletes anything permanently.
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": {
"pageId": "<pageId>"
},
"name": "delete_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | Page id, slug id, or the full page URL copied from the browser. |