presentation-get-rendering-by-id
Retrieve rendering definitions for Sitecore content items by specifying item ID, database, language, and layout type to manage presentation details.
Instructions
Gets rendering definition by item id.
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": {
"itemId": "<itemId>"
},
"name": "presentation-get-rendering-by-id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | The id of the item to retrieve rendering for. | |
| database | No | The context database. | |
| dataSource | No | The rendering data source filter. | |
| placeholder | No | The rendering datasource filter. | |
| language | No | The item language filter. | |
| finalLayout | No | Specifies layout holding the rendering definition. If 'true', the final layout is used, otherwise - shared layout. | |
| uniqueId | No | The rendering definition unique id. |