list_content
Retrieve content items from LightCMS with filters for category, folder, or status. Include specific fields or full data to optimize bulk workflows and reduce API 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 |
|---|---|---|---|
| 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_deleted | No | Include soft-deleted content in results | |
| include_fields | No | Include only these specific field names from the data object (more efficient than include_data for large content) |