modx_undelete_resource
Restore a soft-deleted resource from the trash by passing its resource ID, undeleting it so it becomes available in the CMS again.
Instructions
Restore a soft-deleted resource from the trash (un-deletes it). id = resource id.
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": "modx_undelete_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |