common-restore-archive-item
Restore archived Sitecore items to their original database by specifying the archive and target database, optionally filtering by item ID or responsible user.
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 |
|---|---|---|---|
| itemId | No | The ID for the original item that should be processed. | |
| 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. | |
| identity | No | The user responsible for moving the item to the archive. |