select_option
Select options in a dropdown by value or visible text. Use it to set a form field when clicking alone cannot choose the intended 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": {
"ref": "<ref>",
"values": "<values>"
},
"name": "select_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | 目标元素的 ref(来自 snapshot,如 e12) | |
| values | Yes | 要选中的选项(value 或显示文字) | |
| element | No | 元素的简短描述(仅用于日志,便于人工排查) |