get_content
Retrieve a specific content item from a microCMS API endpoint using its ID. Optionally filter fields, set reference depth, or access draft content.
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": "get_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | Yes | 取得したいmicroCMSのAPIエンドポイント (例: 'blog') | |
| contentId | Yes | 取得したいコンテンツのID | |
| fields | No | 取得フィールド (例: 'id,title,publishedAt') | |
| depth | No | 参照の深さ (1-3) | |
| draftKey | No | 下書きコンテンツを取得するためのキー |