Press key
browser_press_keyPress a specified key or key combination on the focused element in a browser tab, such as Enter, Tab, Escape, Control+A, or Shift+Tab, to send keyboard input.
Instructions
Presses a key on the focused element. E.g. Enter, Tab, Escape, ArrowDown, PageDown, Control+A, Shift+Tab.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slot": "<slot>",
"key": "<key>"
},
"name": "browser_press_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key name or combo (e.g. "Control+A") | |
| 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. | |
| 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. | |
| agent | No | Your display name, shown to other agents. Subagents must always set it. Default "claude-1e1b". | |
| 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) |