playwright_record
Record HTTP requests and responses from web pages using a headless browser, archiving them for full-text search.
Instructions
Drive a headless Playwright browser against the given URL(s) and record every HTTP request/response into the web-archive store.
Binary/streaming response bodies are skipped, auth headers are redacted by
default, and each URL gets a fresh browser context so cookies don't leak
between sites. Like web_fetch, this rejects private/loopback addresses
(SSRF protection). Recorded entries become searchable once rebuild runs.
Args: urls: URL(s) to visit (http/https; scheme auto-prepended) wait: Extra seconds to wait after page load for async requests timeout: Navigation timeout in seconds (max 120) max_entries: Stop recording after this many request/response entries redact_auth: Redact Authorization/Cookie/Set-Cookie/X-API-Key headers
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": {
"urls": "<urls>"
},
"name": "playwright_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | ||
| wait | No | ||
| timeout | No | ||
| max_entries | No | ||
| redact_auth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |