restore_prompts
Restore recently deleted prompts in bulk by providing the delete batch ID. Recover prompts within the 48-hour grace window to undo accidental deletions.
Instructions
Restore a batch of recently deleted prompts (undo a delete_prompts call). Works while the batch is still inside the 48-hour grace window; get the batchId from list_deleted_prompts or from the delete_prompts response.
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": {
"batchId": "<batchId>"
},
"name": "restore_prompts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batchId | Yes | The delete batch UUID from list_deleted_prompts or delete_prompts |