Find Pages By Label
find_pages_by_labelList all pages that carry a given label across every space or restrict results to one space, with pagination support. Requires Docmost 0.90 or newer.
Instructions
List the pages that carry a label, in all spaces or in one. Needs Docmost 0.90 or newer.
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": {
"label": "<label>"
},
"name": "find_pages_by_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Label name: letters, digits, '-', '_' and '~'. Docmost stores it lowercase. | |
| limit | No | Maximum number of items to return. | |
| cursor | No | Value of next_cursor from a previous call, to get more items. | |
| space_id | No | Only pages in this space. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||