mercury_delete_webhook
Permanently delete a webhook endpoint, stopping event delivery. Use when decommissioning a webhook or removing a duplicate; this action is irreversible and past delivery history is lost.
Instructions
Delete a webhook endpoint. DESTRUCTIVE — Mercury stops delivering events to that URL.
USE WHEN: decommissioning a webhook (URL no longer reachable, integration retired, accidental duplicate). ALWAYS confirm with the user — there is no undo, and any downstream system that depended on the events stops being notified.
DO NOT USE: to temporarily silence a webhook (use mercury_update_webhook with status: "paused" instead — reversible).
SIDE EFFECTS: permanent deletion on Mercury's side. Future events that would have fired this webhook are silently dropped — no replay. Past delivery history is also lost from the Mercury dashboard.
RETURNS: confirmation payload ({ deleted: true, ... } or similar).
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": {
"webhookId": "<webhookId>"
},
"name": "mercury_delete_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhookId | Yes | The webhook endpoint ID |