verify_webhook_signature
Verify webhook deliveries locally by checking Svix-style signatures against the raw request body and endpoint secret. Returns validity status and explains mismatches.
Instructions
Locally verify a webhook delivery's Svix-style signature (no API call). Provide the exact raw request body, the svix-id/svix-timestamp/svix-signature headers, and your endpoint signing secret. Returns { valid, reason? }.
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": {
"payload": "<payload>",
"svix_id": "<svix_id>",
"svix_timestamp": "<svix_timestamp>",
"svix_signature": "<svix_signature>",
"secret": "<secret>"
},
"name": "verify_webhook_signature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| secret | Yes | The endpoint signing secret (whsec_... or raw). | |
| payload | Yes | The exact raw request body the server sent (do not re-serialize). | |
| svix_id | Yes | The svix-id header. | |
| tolerance_sec | No | Max clock skew in seconds (default 300; 0 disables). | |
| svix_signature | Yes | The svix-signature header (may contain multiple space-separated sigs). | |
| svix_timestamp | Yes | The svix-timestamp header (unix seconds). |