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