Set value
set_valueSets a text field, slider, or combo box to a specified value in a Windows desktop app using an element index from the last app state.
Instructions
Set the value of a text field / slider / combo box at element_index (ValuePattern).
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": {
"app": "<app>",
"element_index": "<element_index>",
"value": "<value>"
},
"name": "set_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| value | Yes | ||
| element_index | Yes | Element index from the last get_app_state, as a string |