get_ui_elements
Retrieve the accessibility tree of a macOS app window, including UI element roles, names, and positions. Identify specific interface elements for automation.
Instructions
Get the accessibility tree of an app window. Returns UI element roles, names, and positions.
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 |