select_option
Set a dropdown's value, label, or index directly in the browser, firing change events. Enables agents to select options in fields rather than clicking.
Instructions
Choose an option in a <select>, by value, label or index.
Give exactly one of the three. A dropdown is not a click target: this
sets the value and fires change, which is what a page listens for.
Set submits=true when the choice sends the form (an onchange
that posts) — that asks for the permission it needs.
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>"
},
"name": "select_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ||
| label | No | ||
| value | No | ||
| reason | No | ||
| confirm | No | ||
| submits | No | ||
| selector | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||