List pages
list_pagesBrowse a wiki's structure by listing Markdown page paths for a chosen zone, with optional prefix filtering and a result limit; use it to locate pages before opening one by path.
Instructions
List the Markdown files of a zone, to browse a wiki by its structure.
To find pages by their content, use search_wiki instead; to open one, pass its path to read_page. Returns {pages, truncated, total}: paths relative to the wiki root, sorted and capped at limit; total counts every match and truncated says the list was cut.
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": {
"wiki": "<wiki>"
},
"name": "list_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wiki | Yes | Wiki id, as returned by list_wikis. | |
| limit | No | Maximum number of paths returned. | |
| scope | No | Zone: 'wiki' (distilled pages, default), 'raw' (verbatim sources) or 'all' (both). Index, log and schema files sit at the wiki root, outside every zone: open them with read_page. | wiki |
| prefix | No | Keep only paths starting with this, relative to the wiki root, e.g. 'wiki/people/'. Empty: no filter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||