WordPress: List custom posts
wordpress_list_custom_postsList posts from a specific WordPress custom post type by specifying the site and post type; supports pagination, status filters, and per-page limits.
Instructions
[UNIFIED] List posts of a specific custom post type. Use list_post_types first to discover available post types.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>",
"post_type": "<post_type>"
},
"name": "wordpress_list_custom_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| site | Yes | ||
| status | No | any | |
| per_page | No | ||
| post_type | Yes |