get_ui_elements
Retrieve accessibility UI elements of a window for a specified application. Find buttons, text fields, and other interface components.
Instructions
Get accessibility UI elements of a window for a given app. Useful for finding buttons, text fields, etc.
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": {
"app": "<app>"
},
"name": "get_ui_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | Application process name | |
| depth | No | 'shallow' for top-level elements, 'deep' for full tree (can be slow) | shallow |