Select Option
select_optionSet an HTML element's value and trigger change/input events for reliable form automation. Use aria_click for custom dropdowns.
Instructions
Set HTML .value + change/input events. For custom dropdowns use aria_click.
Ex: select_option('t0', '#country', 'BR') → {"ok":true}
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": {
"tab_id": "<tab_id>",
"selector": "<selector>",
"value": "<value>"
},
"name": "select_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| tab_id | Yes | ||
| selector | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||