microcms_get_content
Retrieve specific content from microCMS by specifying the endpoint, content ID, and optional fields, draft key, or depth, enabling precise data access for AI assistants and workflows.
Instructions
Get a specific content from microCMS
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contentId | Yes | Content ID to retrieve | |
| depth | No | Depth of reference expansion (1-3) | |
| draftKey | No | Draft key for preview | |
| endpoint | Yes | Content type name (e.g., "blogs", "news") | |
| fields | No | Comma-separated list of fields to retrieve |
Input Schema (JSON Schema)
{
"properties": {
"contentId": {
"description": "Content ID to retrieve",
"type": "string"
},
"depth": {
"description": "Depth of reference expansion (1-3)",
"maximum": 3,
"minimum": 1,
"type": "number"
},
"draftKey": {
"description": "Draft key for preview",
"type": "string"
},
"endpoint": {
"description": "Content type name (e.g., \"blogs\", \"news\")",
"type": "string"
},
"fields": {
"description": "Comma-separated list of fields to retrieve",
"type": "string"
}
},
"required": [
"endpoint",
"contentId"
],
"type": "object"
}