list_posts
List posts from a publication with options to limit results, specify the publication, and choose sort order.
Instructions
Read-only. List posts from a publication (yours by default). For a single post by id/slug use get_post; for full HTML body use get_post_content; to find by keyword use search_posts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| pub | No | ||
| sort | No | new |