Select option
selectSelect an option from an HTML dropdown in legacy IE Mode applications by visible text, value, or index. Uses CSS, XPath, or other selectors to identify the target element.
Instructions
Choose an option of an HTML element by visible text, value or index.
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>",
"by": "<by>",
"value": "<value>"
},
"name": "select"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | How to identify the option. | |
| frame | No | Optional iframe/frame to switch into first. One level of nesting is supported. | |
| value | Yes | Option text, value, or zero-based index. | |
| selector | Yes |