chrome_use_type
Types text into a specified page element or the currently focused field, with options to clear first, send keystrokes for autocomplete, and press Enter to commit.
Instructions
Type text into an element (or, with no selector, whatever currently has focus).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to type. | |
| clear | No | Clear the field before typing. | |
| enter | No | Press Enter after typing (implies keyEvents) to commit an autocomplete candidate. | |
| force | No | With tabId: act on a tab this session does not own (the user's own, or another session's), in place and in the background (--tab <handle> --force). Only when the user asked you to act on that tab; the result has forced: true and the tab's title and url. | |
| tabId | No | Target tab id (e.g. t2), label, or targetId (--tab). | |
| delayMs | No | Per-key delay in ms. | |
| observe | No | Observe the action's effect (--observe): a page snapshot before and after, the change, and whether the page now waits for a person. Use it when the action should submit, save, pay or send, then confirm the effect with chrome_use_expect. | |
| session | No | Isolated session name (chrome-use --session <name>). Each session gets its own tab group, browser tab and element refs. Omit it unless several agents share ONE MCP server — the session is otherwise derived per agent automatically. When you do share a server with sibling agents, pass a name unique to you on every call, or you will drive their tabs and invalidate their refs. | |
| selector | No | CSS selector or @ref to type into; omit to type into the focused element. | |
| keyEvents | No | Send real per-character keystrokes instead of a bulk insertText (needed for autocomplete widgets). | |
| timeoutMs | No | Kill the underlying chrome-use process if it hasn't responded after this many ms (default 30000). |