wp_list_content
List WordPress posts, pages, products, or custom post types with search, pagination, and status filters. Retrieve content by type, category, order, and more.
Instructions
List WordPress content (posts, pages, products, or any custom post type). Supports search, pagination, and filtering by status.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type": "<type>"
},
"name": "wp_list_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default: 1) | |
| type | Yes | Post type: "post", "page", "product", or any custom post type | |
| order | No | "ASC" or "DESC" (default: "DESC") | |
| search | No | Search query to filter content | |
| status | No | Filter by status: "publish", "draft", "pending", "private", "trash", "any" (default: "any") | |
| orderby | No | Order by: "date", "title", "modified", "menu_order" (default: "date") | |
| category | No | Filter by category slug | |
| per_page | No | Items per page (default: 20) |