wp_pages_list
List WordPress pages by status, author, or parent, with sorting and pagination. Use parent=N to get direct children or parent=0 for top-level pages.
Instructions
List pages with filters. Pages support a hierarchy via parent (use parent=N to list direct children of page N, parent=0 for top-level). Default orders by menu_order ascending — the typical navigation order.
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": "wp_pages_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| order | No | asc | |
| author | No | ||
| parent | No | ||
| search | No | ||
| status | No | publish | |
| orderby | No | menu_order | |
| per_page | No |