set_widget_value
Set widget values by widget ID and value string. Converts the value to the appropriate type for the widget (Entry, Scale, Combobox, Checkbutton, Radiobutton, Listbox, Spinbox).
Instructions
Set the value of a widget based on its type.
Sets the appropriate value for the widget type:
Entry/Text: sets text content
Scale: sets numeric value (e.g., "50.0")
Combobox: sets selected text
Checkbutton: sets checked state ("true"/"false")
Radiobutton: selects this radio button (value ignored)
Listbox: selects item by index (e.g., "0", "1")
Spinbox: sets value
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| widget_id | Yes | The widget ID from get_ui_layout() | |
| value | Yes | The value to set (converted appropriately for widget type) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |