Delete a subpage
delete_pageDelete a subpage for good, with all its widgets. The home page can't be deleted. This can NOT be undone: always ask the user to confirm first, then call with confirm: true.
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": "<page>",
"confirm": "<confirm>"
},
"name": "delete_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Slug of the subpage to delete (from list_pages). | |
| confirm | Yes | Must be true, after the user confirmed. |