wp_list_posts
List WordPress posts with optional filters to return post ID, title, status, date, and categories. Use to browse content or find posts by keyword.
Instructions
List WordPress posts with optional filters. Returns post ID, title, status, date, and categories. Use to browse existing content or find posts by keyword.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Search posts by keyword | |
| status | No | Filter by status: publish, draft, pending, private, trash | |
| per_page | No | Number of posts to return (default 10, max 100) |