wp_list_posts
List WordPress posts filtered by category, tag, author, status, or search term.
Instructions
List WordPress posts with optional filters
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": {
"site": "<site>"
},
"name": "wp_list_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| site | Yes | Site id (see list_sites) | |
| tags | No | Tag ID(s), comma-separated | |
| order | No | desc | |
| author | No | Author ID | |
| search | No | Search term | |
| status | No | Post status filter | |
| orderby | No | date | |
| per_page | No | Posts per page (max 100) | |
| categories | No | Category ID(s), comma-separated |