pages_list
Retrieve pages from a Voog site with optional filters for language, type, path, search, and parent. Returns page ID, path, title, hidden status, and layout name.
Instructions
List pages on the Voog site (id, path, title, hidden, layout name). All filters are optional; with no filters this returns every page. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site name from voog_list_sites | |
| language_code | No | Filter by language code (e.g. 'et', 'en') | |
| content_type | No | Filter by page type. Voog accepts 'page', 'blog', 'elements', 'link'. | |
| node_id | No | Filter to pages on a specific node (parallel-translation group) | |
| path_prefix | No | Pages whose path starts with this prefix (e.g. '/blog') | |
| search | No | Free-text search across title, menu_title, description, path | |
| parent_id | No | Filter to direct children of a specific parent page id | |
| language_id | No | Filter by language id (use language_code for the human-readable form) | |
| sort | No | Voog sort string: '<object>.<attr>.<$asc|$desc>'. Examples: 'page.title.$asc', 'page.created_at.$desc'. | |
| filters | No | Escape hatch for Voog filter keys not exposed as typed args. Keys MUST match q.page.<attr>.(\$eq|\$cont|\$gteq|\$lteq|\$gt|\$lt|\$in|\$nin|\$starts|\$ends|\$null|\$has). Values are pass-through. Merged with typed args; filter keys override typed-arg-derived keys on collision. |