get_all_selected_items
Gets all selected items from a multi-select UI container via UIA Selection pattern, returning their element IDs as a JSON array.
Instructions
Get all currently selected items in a multi-select container via the UIA Selection pattern. Returns a JSON array of element IDs.
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": {
"elementId": "<elementId>"
},
"name": "get_all_selected_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elementId | Yes | Element ID returned by find_element |