select_option
Select an option in a dropdown by its value or visible text. Targets the active tab or a specified browser tab.
Instructions
Choose an option in a dropdown by its value. Active tab unless browserId given.
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": "select_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector of the <select>. | |
| value | Yes | The option value (or visible text) to select. | |
| browserId | No | Target tab. Defaults to active. |