authoring-rename-item
Renames a Sitecore item by ID or path while preserving its item ID so existing links remain valid; the item's path and derived URL update to the new name.
Instructions
Renames a Sitecore item over the Authoring and Management API. The item keeps its ID, so links to it survive, but its path changes and any URL derived from the name changes with it. Supply exactly one of id or path.
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": {
"newName": "<newName>"
},
"name": "authoring-rename-item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The item's GUID. Supply this or path. | |
| path | No | The item's full path. Supply this or id. | |
| newName | Yes | The new name. Sitecore rejects names containing / \ : ? " < > | [ ]. | |
| database | No | The database holding the item. Defaults to master. |