wp_list_posts
List WordPress posts with pagination, status filter, and search. Read-only for safe retrieval of published, draft, or pending posts.
Instructions
List WordPress posts. Supports pagination, status filter, and search. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default 1) | |
| search | No | Search term | |
| status | No | Filter by status: publish, draft, pending, any | |
| per_page | No | Items per page (default 10, max 100) |