common-remove-archive-item
Permanently remove an item from a Sitecore archive by specifying the database, archive name, item ID, and responsible identity.
Instructions
Removes items permanently 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-remove-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 remove. | |
| database | Yes | The database for which the archives should be retrieved. | |
| identity | No | The user responsible for moving the item to the archive. |