royal-mcp__wp_get_pages
List WordPress pages. Returns id, title, status, URL, date (publish date, site local time), modified (last change, ISO 8601 UTC) and content_length (bytes of stored content — size-check before fetching) for each. Filter by parent to walk the page hierarchy; sort with orderby / order; use modified_after to find pages edited recently. Content edits, Royal MCP custom-field tools, ACF field writes and Elementor writes update modified; other plugins changing only custom fields may leave it unchanged. (site: demo.royalplugins.com) Through Royally: read-only, runs straight away.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "royal-mcp__wp_get_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | asc or desc. Default when orderby is given: asc (A to Z) for title, desc for every other sort. | |
| parent | No | Parent page ID — returns only direct children of this page | |
| status | No | publish (default), one status, or any (every status you can read except trash), so a draft you just created can be found. | |
| orderby | No | Sort field. Without orderby or modified_after, pages are listed by title A to Z. | |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| per_page | No | Number of pages (default 10, max 100) | |
| modified_after | No | Only items last modified after this moment: a date (2026-11-01) or date and time (2026-11-01T09:30:00Z). No timezone means UTC. |