authoring-rename-item
Rename a Sitecore item via the Authoring and Management API. The item keeps its ID so links survive, but its path and derived URLs change; supply id or path and 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. |