列出下拉选项
antd_get_optionsExpands an Ant Design dropdown select and lists all visible option texts.
Instructions
展开 AntD 下拉选择框并列出当前可见的全部选项文本(先于 antd_select 使用)。
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": {
"element_id": "<element_id>"
},
"name": "antd_get_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | No | 标签页 id,省略时用最新标签页 | |
| timeout | No | 等待浮层出现的秒数 | |
| element_id | Yes | Select 元素的 element_id(find_element 定位 '.ant-select' 等) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |