Set field value
set_valueReplace a text field's entire contents in one step via accessibility API, discarding the previous value. Use for long values or fields that already contain text.
Instructions
Replace a text field's entire contents in one step through the accessibility API, without keystrokes. Prefer it over type_text for long values or when the field already holds text; fall back to click plus type_text if the field rejects it, which the result reports. The previous value is discarded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | New complete value for the field | |
| element_id | Yes | Text field to set, from get_app_state |