Set an element's value
set_ui_element_valueSet a UI element's value by replacing text field content or changing a slider position; when the app refuses or a web form doesn't notice, focus the element and type instead.
Instructions
Set what an element holds: a text field's text, replacing it, or a slider's position. When the app refuses, or a web form doesn't notice, focus_ui_element and type_text instead.
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": {
"id": "<id>",
"value": "<value>"
},
"name": "set_ui_element_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The element's id, from get_ui_elements, find_ui_elements or another tool of these that returned it. | |
| value | Yes | Text for a text field (it replaces what's there), a number for a slider. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |