Press a key
browser_keySimulate key presses like Enter or Escape on a control to trigger keyboard shortcuts in shared Firefox tabs.
Instructions
Dispatch a synthetic keyboard event (keydown/keyup) on a control. Default browser behaviour is not guaranteed. Same credential restrictions as browser_fill.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key name such as Enter, Escape, ArrowDown or a single character. | |
| ref | Yes | Short ref such as e3 from that snapshot. | |
| context_id | Yes | Context id from browser_contexts, for example tab:12. | |
| request_id | No | Stable id for this logical action. Reuse the SAME id to retry or reconcile it; never reuse it for a different action. Omit to have one generated and returned. | |
| observation_id | Yes | observation_id from the browser_snapshot that produced ref. | |
| browser_instance_id | No | Only needed when several Firefox profiles are connected. |