Run webhook-crash-lab
run_crash_labReplay hostile webhook deliveries (duplicates, concurrency, out-of-order, bad signatures, malformed JSON) against a configured handler; return structured failures with fix hints. Use test DB/secret.
Instructions
Replay hostile webhook deliveries (duplicates, concurrent duplicates, out-of-order events, forged/missing/stale signatures, malformed JSON) against the handler described by a crash-lab config file, and return structured failures with fix hints. Use a TEST database and test secret only. Create a config with npx webhook-crash-lab init if none exists.
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": {
"configPath": "<configPath>"
},
"name": "run_crash_lab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project directory; defaults to the server working directory | |
| scenarios | No | Run only these scenarios | |
| configPath | Yes | Path to a crash-lab config (.mjs, .js, .cjs, .ts, .mts or .cts), relative to cwd | |
| reportPath | No | Also write the full JSON report here |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| name | Yes | ||
| summary | Yes | ||
| failures | Yes | ||
| nextSteps | Yes | ||
| notTested | Yes | ||
| scenarios | Yes | ||
| reportPath | No |