browser_select_option
Selects an option in a dropdown by visible label or value, using real interaction instead of simulated clicks or value assignment. Supports iframe targeting.
Instructions
Choose an option in a dropdown (<select>), by its visible label or by
its value.
Use this rather than clicking the dropdown and pressing arrow keys: a click
plus arrows cannot tell you which row it landed on, and setting the value
through browser_evaluate changes it without the page seeing a real
interaction. Inside an iframe, pass the snapshot's frame.
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": {
"selector": "<selector>",
"value": "<value>"
},
"name": "browser_select_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | ||
| value | Yes | ||
| browser | No | Defaults to `main`; `support` is the helper beside it. | |
| selector | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |