Undo a deletion
undo_deletionRestore data deleted earlier. id is a rcv_… handle from list_recent_deletions.
Call it once WITHOUT confirm to read what would come back: the response carries impact
(how many rows, by model) and blocked_reason. A deletion often cascades well beyond the
object that was named — removing a group also removed its events. State that number to the
user, get an explicit yes, then call again with confirm=true.
Never infer the target: undo only the entry the user pointed at. Never undo an entry whose
blocked_reason is non-empty.
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": {
"id": "<id>"
},
"name": "undo_deletion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||