recover_deleted_items
Recover deleted work items by creating new entries from cache, preventing duplicate restoration, and validating cross-project or locked items.
Instructions
Restore deleted work items from recovery cache. Creates new items (cannot restore original IDs). Handles double-recovery prevention, cross-project validation, and locked items.
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": {
"workItemIds": "<workItemIds>"
},
"name": "recover_deleted_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Project ID (optional if HACKNPLAN_DEFAULT_PROJECT set) | |
| workItemIds | Yes | Array of work item IDs to recover |