authoring-move-item
Move a Sitecore item and its descendants to a new parent through the Authoring API, preserving all incoming links instead of breaking them via delete-and-recreate.
Instructions
Moves a Sitecore item to another parent over the Authoring and Management API, taking its descendants with it. Every link to the item survives the move — prefer this over delete-and-recreate, which breaks them. Supply exactly one of id or path, and exactly one of targetParentId or targetParentPath.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "authoring-move-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. | |
| database | No | The database holding the item. Defaults to master. | |
| sortOrder | No | The sort order to give the item under its new parent. | |
| targetParentId | No | The GUID of the parent to move into. Supply this or targetParentPath. | |
| targetParentPath | No | The path of the parent to move into. Supply this or targetParentId. |