Discard webhook dead letter
discardWebhookDeadLetterClose one open dead letter of a webhook endpoint without sending it. The event stays in the delivery log, where replayWebhookDelivery can still send it. Confirm with the person before calling it. One that was replayed cannot be discarded.
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": {
"endpointId": "<endpointId>",
"deadLetterId": "<deadLetterId>"
},
"name": "discardWebhookDeadLetter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpointId | Yes | The webhook endpoint, by its id (whe_…). listWebhooks names every one. | |
| deadLetterId | Yes | A dead letter of this endpoint, by its id (dlq_…). listWebhookDeadLetters names them. |