Type text
type_textSimulate keyboard typing into the focused field, optionally focusing an element first. Use for short entries and fields that reject direct value setting.
Instructions
Type literal text as keystrokes into the field that currently has focus, optionally focusing element_id first. Use it for short entries and for fields that reject set_value; use set_value to replace a long value in one step, and press_key for shortcuts or keys such as return and tab. Text is inserted at the caret without clearing what is already there. Typing into password fields is refused by default (see COMPUTER_USE_ALLOW_SECURE_FIELD_INPUT).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Exact text to type, character by character | |
| element_id | No | Element to focus before typing, from get_app_state. Omit to type into whatever currently has focus. |