common-restore-archive-item
Restore archived items to their original database in Sitecore by specifying the archive name and target database.
Instructions
Restores items to the original database from the specified archive.
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": {
"archive": "<archive>",
"database": "<database>"
},
"name": "common-restore-archive-item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archive | Yes | The name of the archive to use when determining which items to restore. | |
| database | Yes | The database for which the archives should be retrieved. | |
| itemId | No | The ID for the original item that should be processed. | |
| identity | No | The user responsible for moving the item to the archive. |