nucleo-content-list
List paginated WordPress content to get item IDs for previews or full items with hashes for change-safe upserts; products are read-only and trashed items are excluded.
Instructions
Lists content items of the allowed content types, paginated. Without "full" each item is a summary with id (pass it as contextPostId to doc-preview). With full each item is complete and has "hash": pass it as "base" to content-upsert, which then saves only if the item did not change since; the item can be sent back as it is (hash, id and protected are ignored). product items are listed read-only: content-get and content-upsert do not handle them. Trashed items are never listed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "nucleo-content-list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Return complete items instead of summaries. Default false. | |
| page | No | Page number. Default 1. | |
| term | No | Only items with this term, as "<taxonomy>/<slug>". | |
| type | No | Content type, for example "post" or "page". Omit to list all allowed types. "product" lists WooCommerce products, read only: content-upsert does not write them. | |
| search | No | Text to search in titles and content. | |
| status | No | Only items with this status. Default: all but trash. | |
| perPage | No | Items per page, from 1 to 100. Default 20. |