Alerts and prompts seen so far
browser_list_promptsList page prompts—alert, confirm, prompt, beforeunload—opened since connection, newest first, to find pages blocked waiting for an answer and then accept or dismiss them via browser_handle_prompt.
Instructions
List page prompts (alert / confirm / prompt / beforeunload) that opened since this server connected, as reported by BiDi browsingContext.userPromptOpened, newest first. A page that shows one of these blocks its script until it is answered — use browser_handle_prompt to accept or dismiss. If a page seems stuck, check here first.
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_list_prompts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max entries (default 10) |