Parameters
This tool takes no parameters.Response
Array containing a single text content item with reset status.
Whether the reset failed (only present on error)
Usage Examples
Basic reset
Successful response
Error response
When to Use Reset
Callreset in the following situations:
Connection errors
When you receive errors indicating lost connection:- “Target closed”
- “Session closed”
- “Protocol error”
- “Connection lost”
Page/context issues
When page or context operations fail:- “No page available”
- “Browser has been closed”
- “Execution context was destroyed”
MCP unresponsive
When the MCP server stops responding or times out repeatedly.After browser restart
If the user manually restarts Chrome or the browser crashes.Important Notes
After calling reset:page- Updated to current pagecontext- Updated to new browser contextstate- Emptied (all keys removed)console- Available- Utility functions - Available
- Custom global variables - Removed
Do NOT Reset For
Avoid calling reset for these situations:- JavaScript errors in your code
- Element not found errors
- Timeout errors from slow page loads (increase timeout instead)
- Navigation errors (404, network failures)
- Assertion failures in tests
- Logic errors in execute code
Known Issues
Chrome about:blank bug
If after reset, Playwright always returns all pages asabout:blank URLs and evaluate() does not work:
The reset tool cannot fix this issue - a full Chrome restart is required.