ui_dismiss_alert
Dismiss active app alerts by passing a button title or index to click a specific button, or set dismiss_all to true to close all open alerts.
Instructions
Dismiss active app alerts. Pass button_title or button_index to click a specific button, or dismiss_all=true to close every open alert.
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": "ui_dismiss_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dismiss_all | No | If true, dismiss all open alerts. | |
| button_index | No | Index of the alert button to click. | |
| button_title | No | Title of the alert button to click. |