wordpress_list_posts
Filter and paginate WordPress posts by status, search, categories, tags, and sort order to retrieve specific post lists.
Instructions
List WordPress posts with filtering and pagination.
Args: status: Filter by status (publish, draft, pending, private, future) search: Search posts by keyword categories: Filter by category IDs tags: Filter by tag IDs page: Page number (default: 1) per_page: Results per page, max 100 (default: 10) orderby: Sort by field (date, title, id, modified) order: Sort direction (asc, desc)
Returns: List of posts with pagination info
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| tags | No | ||
| order | No | desc | |
| search | No | ||
| status | No | ||
| orderby | No | date | |
| per_page | No | ||
| categories | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||