List items in a collection
cms_items_listReturns the collection’s active items in manual (drag) order by default, 20 per page (max 100); paginate with cursor or with 1-based page offsets, not both. Filter with published (true / false) and a JSON-encoded filter map of { fieldKey: { operator: value } } — operators eq, neq, in, nin, gt, gte, lt, lte, contains, startsWith, endsWith, and exists, plus slug equality on reference fields; metadata keys are id, slug, publishedAt, publishAt, createdAt, and updatedAt. Combine clauses with filterLogic (and by default, or or). search accepts a query string (1–200 characters) or JSON { "query", "fields" } to restrict which text fields are searched; sort accepts JSON { "kind": "field" | "meta", "field", "direction": "asc" | "desc" }, where sortable metadata fields are id, slug, publishedAt, publishAt, createdAt, updatedAt, and position. depth (0–3, default 0) embeds referenced items in place of their ids, one level per unit.
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": {
"collectionId": "<collectionId>"
},
"name": "cms_items_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| sort | No | ||
| depth | No | ||
| limit | No | ||
| cursor | No | ||
| filter | No | ||
| search | No | ||
| published | No | ||
| filterLogic | No | ||
| collectionId | Yes |