select
Pick an option by value, label, or index; for custom dropdowns, pass the opener button and option label.
Instructions
Pick an option on a by value/label/index. Also works on a custom dropdown: pass the button that opens it and the option's label.
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": {
"target": "<target>"
},
"name": "select"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Zero-based option index. | |
| label | No | Option visible label. | |
| lease | No | Optional lease token to present if the target session is leased (0.7.0). Threaded per-call; never read from the server's env. | |
| value | No | Option value attribute. | |
| target | Yes | @eN or selector for the <select>. | |
| session | No | Optional session name to target (omit for the shared 'default'). On a daemon shared with other agents, pass a UNIQUE name for stateful multi-step work (go→click→fill) so you don't collide on 'default'. |