accept_alert
Accept JavaScript alert, confirm, or prompt dialog by clicking OK. Set a timeout to wait for the dialog during browser automation.
Instructions
Accept (OK) a JavaScript alert, confirm, or prompt dialog.
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": "accept_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No |