List Content
list_contentLists LightCMS content items with optional filters, returning titles, paths, publish status, and timestamps. Use include_data or include_fields to retrieve field data in bulk and avoid per-item calls.
Instructions
List all content items with optional filters. Returns content metadata including title, path, publish status, and timestamps.
Add include_data: true to get full field data for all items in one call, or include_fields: ["field1", "field2"] to fetch only specific fields — both avoid per-item get_content calls for bulk workflows.
Up to 20 concurrent update_content calls are safe. For larger batches, prefer bulk_update_content (up to 100 items per call).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of items to return (1-500). When set, returns paginated response with {items, total, limit, offset, has_more} | |
| offset | No | Number of items to skip (for pagination). Requires limit to be set | |
| category | No | Filter by content category | |
| folder_id | No | Filter by folder ID (MongoDB ObjectID) | |
| include_data | No | If true, include all template field data in results (avoids per-item get_content calls) | |
| include_forks | No | Also list fork copies (working copies inside fork workspaces). Off by default; use get_fork to see one fork's pages | |
| include_fields | No | Include only these specific field names from the data object (more efficient than include_data for large content) | |
| include_deleted | No | Include soft-deleted content in results |