tab_press
Press a key or shortcut in the focused browser tab to close dialogs, move between fields, submit forms, or navigate lists, then return the updated screen content.
Instructions
Press a key or shortcut in the user's browser with the real keyboard, after bringing the tab to the front. It goes to whatever has focus there: Escape to close a dialog, Tab to move between fields, Enter to submit, arrows in a list. Returns what changed on screen, or the new screen after a navigation.
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": {
"key": "<key>"
},
"name": "tab_press"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key name: Enter, Escape, Tab, Space, Backspace, Delete, ArrowUp/Down/Left/Right, Home, End, PageUp, PageDown, F1-F12, a letter or a digit. | |
| tabId | No | Tab id from tab_list or tab_read. Defaults to the active tab of the browser window the user used last. | |
| modifiers | No | Modifiers held for a shortcut: Meta (Command), Control, Alt (Option), Shift. E.g. ["Meta"] with "L". |