ax_set_value
Set a control value via macOS Accessibility or Windows UI Automation in the background without moving the cursor. Ambiguous substring matches fail closed; prefer a fresh ax_read node.
Instructions
Legacy query action that sets a control value through macOS Accessibility or Windows UI Automation. Background, no cursor. Ambiguous substring matches fail closed; prefer a fresh ax_read node whenever possible.
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": {
"query": "<query>",
"value": "<value>"
},
"name": "ax_set_value"
}
}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). |