Type text
type_textType text into the element currently in focus, appending at the caret. Use for rich-text, canvas, or contenteditable editors that react only to raw key events, or when adding to existing content.
Instructions
Type text into whatever element currently has focus.
Appends at the caret instead of replacing, and needs something focused already — click the field first, or use fill, which takes a uid, clears the field and needs no separate focus step.
Prefer fill for ordinary form filling. Use type_text when you must add to existing content, or for widgets that only react to raw key events such as contenteditable, rich-text and canvas editors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to type, one character at a time. | |
| browser | No | Which browser to act on. Each name is an independent Chrome, created on first use. Omit for the shared default; parallel agents each need their own name. | default |
| submit_key | No | Key to press once typing finishes, e.g. "Enter" to submit a search box or "Tab" to move to the next field. Empty string presses nothing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |