set_value
Assign a new value to an editable element in a desktop window using its accessibility tree index.
Instructions
Set the value of an editable element
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": {
"window": "<window>",
"element_index": "<element_index>",
"value": "<value>"
},
"name": "set_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Value to set | |
| window | Yes | Window object | |
| element_index | Yes | Element index from accessibility tree |