List trashed pages
list_trashed_pagesLists deleted page groups in trash, newest first, showing restore IDs, deletion details, descendant counts, and permanent-deletion expiry so you can review and restore pages.
Instructions
List the page trash, newest first. Each entry is one deleted group - a page plus the descendants deleted with it: id (the trash id restore_page takes), name, slug, deletedAt, deletedById and deletedByName, descendantCount, and expiresAt, when the group is deleted permanently (30 days after deletion). Only groups the caller holds pages:delete on are listed; without it the list is empty.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_trashed_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||