get_ui_element_value
Retrieve the current value of a UI element in a macOS application, such as text field content or checkbox state, by specifying the app and element path.
Instructions
Gets the value of a UI element (text field content, checkbox state, 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": {
"appName": "<appName>",
"elementPath": "<elementPath>"
},
"name": "get_ui_element_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appName | Yes | Application name containing the element | |
| elementPath | Yes | Path to the element |