Set element value
element_set_valueSets an element’s value via accessibility for text fields, sliders, and pickers without keystrokes, with a Windows fallback that types and verifies values when accessibility writes are ignored.
Instructions
Set an element's value through accessibility (text fields, sliders, pickers) without keystrokes. On Windows, the server takes over for a foreground-only write when permitted. If a classic Win32 edit or combo box ignores the accessibility write, it selects and types the value, then reads it back.
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": {
"ref": "<ref>",
"value": "<value>"
},
"name": "element_set_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Element ref from ax_tree/ax_find, e.g. "e12". | |
| value | Yes | New value. |