Find Docmost pages
find_pagesSearch pages by full-text query, filter by label or trash, or list recently updated pages, optionally limited to one space. Supports pagination and returns results for reading or restoring.
Instructions
Finds pages by full-text search, by label or in a space's trash, or with none of those lists the most recently updated pages, optionally within one space.
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": "find_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Only pages carrying this label, most recently updated first; case does not matter. | |
| limit | No | Maximum results to return; defaults to 20. | |
| query | No | Words to search page titles and bodies for. | |
| cursor | No | nextCursor from the previous call, to fetch the next results. | |
| inTrash | No | List the pages in spaceId's trash, most recently deleted first, with the page ids restore_page takes; deleted subpages come back with their parent and aren't listed separately. | |
| spaceId | No | Space id from get_workspace; limits the results to that space, and is needed with inTrash. |