set_element_value
Update the value of a UI element like a slider or spin box by providing its element ID and the new value.
Instructions
Set the value of an element via the UIA Value or RangeValue pattern (e.g. sliders, spin boxes).
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": {
"elementId": "<elementId>",
"value": "<value>"
},
"name": "set_element_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The value to set | |
| elementId | Yes | Element ID returned by find_element |