List Pages
list_pagesLists pages in a wiki space one level at a time, showing top-level pages or the children of a specified page. Use has_children to decide whether to drill down.
Instructions
List pages of a space as a tree, one level at a time: without parent_page_id the top-level pages, with it the children of that page. has_children tells whether a page has children to list next. To see several levels in one call, use get_page_tree; to find a page by name, use suggest or search.
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": {
"space_id": "<space_id>"
},
"name": "list_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of items to return. | |
| cursor | No | Value of next_cursor from a previous call, to get more items. | |
| space_id | Yes | Space id from list_spaces. | |
| parent_page_id | No | List the children of this page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||