Distill & Scrub HAR Network Capture
distill_har_captureParses Chrome DevTools / Playwright .har captures, strips static assets (.js/.css/fonts/images), analytics beacons, and OPTIONS preflights, scrubs credentials (Authorization, Cookie, Set-Cookie, X-Api-Key, token params, JWTs) into [REDACTED:], groups dynamic :id/:uuid routes and polling loops, surfaces 4xx/5xx failures and slowestEndpoints, and infers compact TypeScript request/response schemas. Pricing: $0.002 base (up to $0.008 max ($0.002 base + $0.001 per 250KB of .har input, capped at $0.008), x402 variable settlement). Pass ?dry_run=true on REST to validate schema free.
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": "distill_har_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| har | No | Parsed HAR 1.2 JSON object containing log.entries (exported from Chrome DevTools, Playwright, or mitmproxy). | |
| harJson | No | Raw serialized .har JSON text when passing unparsed file contents directly. | |
| allowedHosts | No | Optional hostname allowlist (e.g. ['api.acme.com']) to isolate target traffic. | |
| inferSchemas | No | Infer compact TypeScript interfaces/types for JSON request and response payloads across endpoint calls. | |
| redactSecrets | No | Scrub Authorization, Cookie, Set-Cookie, X-Api-Key, api_key/token query params, and JWTs into [REDACTED:<type>]. | |
| includeTelemetry | No | Keep analytics and telemetry beacons (Google Analytics, Segment, Datadog, Sentry, Mixpanel). Defaults to false. | |
| includeStaticAssets | No | Keep static asset requests (.js, .css, .woff2, .png, .svg, .ico, images/fonts). Defaults to false. | |
| maxFailureBodyChars | No | Maximum characters retained per 4xx/5xx/network failure body snippet. | |
| maxSlowestEndpoints | No | Maximum number of slowest endpoints ranked by p95 latency. | |
| includeOptionsPreflight | No | Keep CORS OPTIONS preflight requests. Defaults to false. |