browser_force_recreate
Recreates an unresponsive or problematic browser context, optionally preserving viewport settings, to restore a working debugging session.
Instructions
Force recreate a browser context when it becomes unresponsive or problematic
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": {
"contextId": "<contextId>"
},
"name": "browser_force_recreate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contextId | Yes | Browser context ID to recreate | |
| preserveViewport | No | Preserve viewport settings from original context |