pilot_type
Simulates character-by-character typing into the focused element for rich text editors or fields with keystroke events. Use for autocomplete or keypress reactions; for standard inputs, use pilot_fill instead.
Instructions
Type text character-by-character into the currently focused element, simulating real keyboard input. Use when the user wants to type into a contenteditable div, rich text editor, or a field that reacts to individual keystrokes (e.g., autocomplete, keypress events). For standard / elements, prefer pilot_fill which is faster.
Parameters:
text: The text string to type
submit: Set to true to press Enter after typing (useful for search fields and forms)
Returns: Character count typed and whether Enter was pressed.
Errors:
"No element is focused": Nothing is focused on the page. Use pilot_click on the target field first.
Timeout: The page became unresponsive during typing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to type | |
| submit | No | Press Enter after typing |