presentation-set-rendering-parameter
Add or update a rendering parameter on a rendering placed on a Sitecore item by supplying its unique ID and parameter values.
Instructions
Adds and updates the specified rendering parameter from the rendering placed on an item.
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": {
"renderingUniqueId": "<renderingUniqueId>",
"parameter": "<parameter>"
},
"name": "presentation-set-rendering-parameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The ID of the item holding the rendering. Supply this or path. | |
| path | No | The path of the item holding the rendering. Supply this or id. | |
| database | No | The context database. Only sent when addressing by id -- a path carries its own database prefix (e.g. master:/sitecore/content/Home). | master |
| language | No | The item language varsion. | |
| parameter | Yes | The rendering parameter to add or update. | |
| finalLayout | No | Target the final layout (default true), where list-renderings' uniqueIds live. False = shared only. | |
| renderingUniqueId | Yes | The unique ID of the rendering holding the rendering parameter. |