Web Type
web_typeTypes text into a form field (input/textarea) or a rich-text editor (a contenteditable element) on the current page. target is a CSS selector or the field's visible label/placeholder. The field is read back after the page's own scripts run: if it ends up holding something else (a mask or an editor that rejected the text), the call fails with not_applied and returns the value the field holds. Does NOT submit — use web_click on the submit button afterwards (that step is gated). SPECIAL CASE — file inputs: if target resolves to an , text is instead treated as a LOCAL FILE PATH on this Mac and the file is attached (JS can't set a file input's value directly; this answers the native file panel programmatically without ever showing it).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to type. For an input[type=file], this is instead the LOCAL FILE PATH to upload. | |
| target | Yes | CSS selector or visible label/placeholder of the field. | |
| session | No | Session name (default 'default'). |