wp_list_cpt_items
List WordPress custom post type entries by slug, using optional filters for status, search, page, and per-page limits to retrieve targeted content.
Instructions
List items of a custom post type with optional filters
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": {
"post_type": "<post_type>"
},
"name": "wp_list_cpt_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| search | No | ||
| status | No | ||
| per_page | No | ||
| post_type | Yes | Post type slug |