Move pages to trash
trash_pagesAtomically move one or more active Pages in one workspace to the trash, together with all of their active sub-pages; movedSubPageCount reports how many. This is reversible: restoring a Page also restores the sub-pages trashed with it.
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": {
"workspaceId": "<workspaceId>",
"pages": "<pages>"
},
"name": "trash_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | Yes | ||
| workspaceId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||