google_dialog
Accept or dismiss JavaScript browser dialogs such as alert, confirm, prompt, and beforeunload by setting accept to true or false, with optional prompt text and tab targeting.
Instructions
处理页面 JS 弹窗(alert/confirm/prompt/beforeunload):accept=true 确定,false 取消。
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": "google_dialog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accept | No | ||
| tab_id | No | ||
| wait_ms | No | ||
| prompt_text | No |