browser_press
browser_pressSimulate a key press with optional modifiers on a specific interactive element, letting agents trigger form submissions, shortcuts, or keyboard navigation in a browser tab.
Instructions
Press a key on an element returned by browser_get_interactives. Supports optional modifier keys.
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": {
"tab_id": "<tab_id>",
"element_id": "<element_id>",
"key": "<key>"
},
"name": "browser_press"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| tab_id | Yes | ||
| frame_id | No | Chrome frame ID inside the tab from browser_get_frames. 0 is the top document, which is the default. | |
| modifiers | No | ||
| element_id | Yes | Opaque element_id returned by browser_get_interactives. | |
| session_id | No | Session that owns the tab. Pass it on every call so the runtime can refuse a tab another session holds. | |
| session_name | No | Name for this conversation's Chrome tab group, so the tab bar reads as the task instead of a generated id. Sticky: pass it once when the name becomes clear, and again only to rename. |