ui_set_property
Sets a QML property such as checked, value, text, or currentIndex on a UI element using its ref; use when direct property changes are needed instead of simulated input.
Instructions
Set a QML property on an element (e.g. checked, value, text, currentIndex). Bypasses input handlers; prefer ui_click when possible.
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>",
"name": "<name>",
"value": "<value>"
},
"name": "ui_set_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Element ref from the latest ui_tree or dialogs result. | |
| name | Yes | ||
| value | Yes |