Har Clear
har_clearClear buffered HAR entries and/or the replay corpus for a specific tab to reset captured network data before new recordings or replays.
Instructions
Drop buffered HAR entries (recording=True, default) and/or the replay corpus.
Ex: har_clear('t0') → {"cleared_entries":42} Ex: har_clear('t0', recording=False, replay=True) → {"cleared_replay":120}
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_clear"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| replay | No | ||
| tab_id | Yes | ||
| recording | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||