microcms_get_content
Retrieve a specific piece of content from microCMS by providing the content type and ID. Supports preview with draft key and field selection.
Instructions
Get a specific content from microCMS
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serviceId | No | Service ID (required in multi-service mode, optional in single-service mode) | |
| endpoint | Yes | Content type name (e.g., "blogs", "news") | |
| contentId | Yes | Content ID to retrieve | |
| draftKey | No | Draft key for preview | |
| fields | No | Comma-separated list of fields to retrieve | |
| depth | No | Depth of reference expansion (1-3) |