common-remove-archive-item
Permanently remove items from a specified Sitecore archive and database. Use it to clear archived content by item ID or 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. |