element_get_options
Retrieve all options from a element, including text, value, index, and selected status, to review available choices before making a selection.
Instructions
Get all options of a element with text, value, index, and selected status.
Use before element_select to see available choices.
Provide locator or element_id.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "element_get_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | ||
| tab_id | No | ||
| locator | No | ||
| element_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |