wp_list_posts
List WordPress posts with ID, title, slug, and status. Filter by status, author, category, tag, or search to locate specific posts.
Instructions
List WordPress posts with ID, title, slug and status.
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_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Result page | |
| tags | No | Tag IDs | |
| order | No | desc | |
| author | No | Author ID | |
| search | No | Search term to filter posts | |
| status | No | Filter by status | |
| orderby | No | ||
| per_page | No | Results per page | |
| categories | No | Category IDs |