get_wiki_tree
Fetch a wiki's page hierarchy as a tree of titles and UUIDs, excluding content. Narrow by parent page or depth to locate a specific page's UUID quickly.
Instructions
Every page in a wiki as a tree — titles, uuids and nesting — without any page content. This is the cheap way to find a page uuid when you know roughly where it sits; search_wiki is the way when you know roughly what it says. Follow up with get_wiki_page for the content of one. A wiki you cannot open is a 404, the same one a wiki that does not exist gives. A big wiki is tens of thousands of tokens of metadata, so narrow it with parent_page_uuid and depth rather than reading all of it to find one uuid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | How many levels of nesting to return. 1 is the top level alone — the whole wiki's top-level pages, or just `parent_page_uuid` itself when one is given; 2 adds their children. Omit for every level. | |
| wiki_uuid | Yes | ||
| parent_page_uuid | No | Return only this page and everything nested under it. The uuid must be a page in THIS wiki — anything else is an error naming it, not an empty tree. Omit for the whole wiki. |