ax_set_value
Set a control's value directly via the OS accessibility tree, filling text fields without focusing or typing, using element role or label matching.
Instructions
Set a control's value directly through the OS accessibility tree (macOS Accessibility; not yet implemented on Windows, where it returns a clear error) — e.g. fill a text field without focusing or typing. Background, no cursor. query matches the element's role/label; value is the text to set. Targets the last window-captured app (or frontmost). Native-app accessibility only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Case-insensitive substring matching the target element's role or label. | |
| value | Yes | The value to set (e.g. the text to place into a field). |