browser_select
Selects an option from a dropdown list using a CSS selector, with optional index, label, or value to specify the choice.
Instructions
从下拉列表 () 中选择选项。
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": "browser_select"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | 要选中的 option 的索引(从 0 开始) | |
| label | No | 要选中的 option 的显示文本 | |
| value | No | 要选中的 option 的 value(优先级高) | |
| selector | Yes | select 元素的 CSS 选择器 |