common-new-item-clone-by-id
Clone Sitecore content items by ID to create duplicates in specified locations, enabling content reuse and branch replication.
Instructions
Creates a new item clone based on the item provided by its 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": {
"id": "<id>",
"destination": "<destination>",
"name": "<name>"
},
"name": "common-new-item-clone-by-id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the item to be cloned. | |
| destination | Yes | The path of a parent item under which the clone should be created. | |
| name | Yes | The name of the item clone. | |
| recurse | No | Adds the parameter to clone the whole branch rather than a single item. | |
| database | No | The database containing the item (defaults to the context database). |