browser_dismiss_overlays
Dismiss visible popups, modals, tooltips, banners, and confirmation prompts in one call to unblock interrupted browser flows and return what was closed.
Instructions
Dismiss visible popups, modals, tooltips, banners, and "Are you sure?"-style overlays in one call. Heuristic-based: finds close affordance via aria-label, text content (Skip/Cancel/Ikke nu/Don't show/Got it/Close), or × character button. Use when a flow is interrupted by unexpected dialogs (cookie banners, onboarding tooltips, draft-confirm prompts on Meta Ads, etc.). Returns list of what was dismissed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_dismiss_overlays"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | non_critical (default): skip dialogs containing editable form inputs (preserves user data). aggressive: dismiss everything. | |
| partition | No | Run this call in a partition from browser_partition (an id like "p1"). Leave it out for the default partition. An unknown or closed id is an error; the call is never sent to the default partition instead. | |
| max_passes | No | Number of dismissal passes (some overlays reveal others when closed). Default: 3 |