contentrain_content_list
List content entries in a chosen locale with publish status and dates from meta to review, filter, and audit content without editing files.
Instructions
List content entries (read-only). Each entry carries its publish state under "meta" — status, plus publish_at/expire_at when set — read from the listed locale's meta; singletons and dictionaries carry it at the top level. Local and remote sessions return the same shape. Change status with contentrain_content_status. Returns data from .contentrain/ — do NOT manually create or modify content files.
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": {
"model": "<model>"
},
"name": "contentrain_content_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max entries to return | |
| model | Yes | Model ID | |
| filter | No | Filter criteria (collection only) | |
| locale | No | Locale code (defaults to config default) | |
| offset | No | Skip N entries | |
| resolve | No | Resolve relation fields to actual data |