browser_native_dialog
Interact with native browser dialogs (file picker, print, basic-auth, leave-site prompts) by listing buttons, clicking them by label, or typing into the focused field. Requires macOS Accessibility permission.
Instructions
Inspect or operate a NATIVE browser dialog that no extension can touch — the file picker, print dialog, basic-auth popup, or 'Leave page?'. action='list' shows the dialog's buttons; 'click_button' presses one by name (e.g. 'Open', 'Save', 'Don't Save'); 'set_text' types into the focused dialog field. macOS only; needs Accessibility permission.
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_native_dialog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text for set_text. | |
| action | No | ||
| button | No | Button label for click_button. | |
| process | No | Process name (default firefox). |