common-restore-archive-item
Restore archived items to their original Sitecore database by specifying archive and database, with optional item ID and user identity.
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. |