Type
browser_typeType text into a browser element with per-character key events to mimic human input; optionally clear existing content, press Enter, or insert long text at once.
Instructions
Types text into a ref element, sending real key events (keydown/keypress/input/keyup) per character like a human. clear=true clears existing content; submit=true presses Enter after. Verifies the resulting value and reports a mismatch. fast=true inserts very long text at once without key events. Date/time inputs get the value set directly in their format (time "19:30", date "2026-10-08"; change event then has isTrusted=false).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ref of the element to type into | |
| tab | No | Target tab: number (1, 2…) or ID ("t7"). Use the stable ID when agents share a slot. Required for action tools when there are multiple tabs. | |
| fast | No | Very long text: insert at once without key events | |
| read | No | Append the page after the action (no separate read needed): text=body text, snapshot=snapshot page 1 (with refs), changes=only lines added/removed since your last snapshot (shortest; full page if the page changed) | |
| slot | Yes | Browser slot 1-30. "3", "slot 3", "browser 3" → 3. If the user gives a port like 14052, subtract 14049. | |
| text | Yes | Text to type | |
| agent | No | Your display name, shown to other agents. Subagents must always set it. Default "claude-68d9". | |
| clear | No | Clear existing content | |
| submit | No | Press Enter after | |
| summary | No | One-line note of what you are doing (e.g. "comparing laptop prices"). Shown in browser_status (not the status line). Omit to keep the previous one. | |
| multiSlot | No | true only when one agent must handle several slots together (e.g. comparing). Normally omit (one agent = one slot; use subagents for the rest) |