chrome_use_press
Press a keyboard key or chord in a Chrome tab to trigger shortcuts, submit forms, or navigate, and optionally observe the resulting page change.
Instructions
Press a keyboard key (e.g. Enter, Tab, Control+a).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key or chord to press, e.g. "Enter" or "Control+a". | |
| 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). | |
| holdMs | No | Hold the key down this long (ms) before releasing. | |
| 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. | |
| timeoutMs | No | Kill the underlying chrome-use process if it hasn't responded after this many ms (default 30000). |