Har Replay Load
har_replay_loadLoad HAR files or raw JSON into a replay corpus so matching requests are served from recorded entries instead of the network.
Instructions
Load a HAR file (path) or raw JSON string (har_json) into the replay corpus.
Subsequent matching requests (method+url, or url-only when loose=True) are fulfilled
from the HAR entry instead of hitting the network. Replay is fallthrough — it only
fires on requests no route_add rule already matched.
Ex: har_replay_load('t0', path='/tmp/session.har') → {"loaded":42,"loose":false} Ex: har_replay_load('t0', har_json='{"log":{"entries":[...]}}', loose=True) → {"loaded":N,"loose":true,"total_loaded":N}
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": {
"tab_id": "<tab_id>"
},
"name": "har_replay_load"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| loose | No | ||
| tab_id | Yes | ||
| har_json | No | ||
| clear_existing | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||