Accessibility Set Value
ax_set_valueSet an accessibility element's value directly via its AXValue, or fall back to focus, select-all, and typing. Verify the applied value matches the requested one.
Instructions
Set an element's AXValue directly if settable; otherwise falls back to focusing the element, selecting all (Cmd+A), and typing the replacement text. Reports whether the final read-back value matches what was requested. Requires Accessibility permission.
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": {
"elementHandle": "<elementHandle>",
"value": "<value>"
},
"name": "ax_set_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Replacement value. | |
| elementHandle | Yes | An elementHandle from ax_snapshot or ax_find. |