tab_select_option
Select an option in a native HTML dropdown on a browser page, firing input and change events so the page reacts. Use it when mouse clicks can't drive the macOS popup.
Instructions
Choose an option in a native dropdown of a page in the user's browser; tab_read lists its options. The macOS popup of a native select cannot be driven reliably by the mouse, so this sets the option the way the page would and fires its input and change events. Custom dropdowns built from other elements are not native selects: open them with tab_click and click the option. Returns what changed on screen.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ref": "<ref>",
"option": "<option>"
},
"name": "tab_select_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Element ref: the number in brackets in tab_read output, e.g. 12 for "[12] button". Refs stay valid while the element stays on the page. | |
| tabId | No | Tab id from tab_list or tab_read. Defaults to the active tab of the browser window the user used last. | |
| option | Yes | Visible label (case-insensitive) or value of the option to choose. |