Press Escape once for the page (store pop-ups)
escape_pageSends one Escape key to the loaded page document only when no field, list, or choice has focus; returns sent status and focus details.
Instructions
Send ONE Escape to the page document, after the page has loaded: focus in browser UI is first given to the page document (no click). Refused, with nothing pressed, when a field, a list or a choice has focus. Returns {sent, focus_before, focus, reason}. Verify with a read afterwards; this never claims a pop-up closed.
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": "escape_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window_address | No | ||
| move_from_field | No |