set_ui_element_value
Sets the value of editable UI elements such as text fields and sliders within a specified macOS application. Useful for automating input changes or adjustments.
Instructions
Sets the value of an editable UI element (text fields, sliders, 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>",
"value": "<value>"
},
"name": "set_ui_element_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appName | Yes | Application name containing the element | |
| elementPath | Yes | Path to the element | |
| value | Yes | Value to set |