modx_virtualpage_delete_event
Deletes a VirtualPage event by ID or name and removes its associated routes, keeping VirtualPage routing data clean after event removal.
Instructions
Delete a VirtualPage event by id or name (removes its routes too, per the VP schema).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "modx_virtualpage_delete_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No |