List pages and posts
wp_list_contentLists WordPress pages, posts, and custom post type items with IDs, titles, statuses, URLs, and last-modified dates; search by text to locate content.
Instructions
Lists pages, posts or custom post type items with ID, title, status, URL and last modified date. Use search to find items by text.
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_list_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| order | No | desc | |
| search | No | Search text | |
| status | No | Default "any" | any |
| orderby | No | modified | |
| per_page | No | ||
| post_type | No | Post type slug or REST base: "page", "post" or a custom post type. Default "page". | page |