web_record_cassette
Record secret-scrubbed HAR-lite replay cassettes from read-only GET requests to a target URL, enabling offline testing with saved responses.
Instructions
Record a secret-scrubbed HAR-lite offline replay cassette from one or more read-only GET requests against a target URL.
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": {
"url": "<url>",
"cassette_path": "<cassette_path>"
},
"name": "web_record_cassette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Target HTTP/HTTPS URL. | |
| paths | No | List of paths to record (defaults to URL path or ['/']). | |
| cassette_path | Yes | Workspace-relative path where the cassette JSON is saved. |