list_pages
List the workspace's Markdown pages, most recently edited first. Returns each page's id, title, revision, last-edit time, who edited it, and a short snippet — never the full body; call get_page for that.
Instructions
List the workspace's Markdown pages, most recently edited first. Returns each page's id, title, revision, last-edit time, who edited it, and a short snippet — never the full body; call get_page for that. Filter with q, a case-insensitive substring over title and body that works in Chinese and Japanese too, and pass sort: 'relevance' with it so a title hit ranks first. Call this BEFORE create_page to see whether a page on the topic already exists — prefer update_page over writing a second one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Case-insensitive substring search over title and body. Works for CJK text; a query of one or two Chinese characters is slower because the trigram index cannot help it. | |
| sort | No | Sort order. 'updated' (the default) = newest edit first; 'created' = newest page first; 'title' = alphabetical; 'relevance' = title hits before body hits, and only meaningful with `q`. | |
| owner | No | Filter to pages created by this user id. Rarely needed; omit unless the caller already has the id. | |
| space | No | Which workspace to act in: its id, its slug, or its exact name (case-insensitive). Omit to use this token's default workspace. Call list_spaces to see what this token can reach. A name that matches more than one workspace is refused — pass the id or slug instead. | |
| folderId | No | Optional UUID — narrow to pages in this folder. Use list_folders to look up folder ids. Omit to see every folder (the default). |