press_key
Send keyboard key presses to a Firefox tab to trigger shortcuts, navigate forms, or dismiss dialogs. Supports single keys, combinations, and repeated sequences.
Instructions
Press keys: 'Enter', 'Tab', 'Escape', 'ArrowDown', 'cmd+a', 'shift+Tab', or several space-separated ('Backspace Backspace Enter'). repeat repeats the whole sequence.
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": {
"tabId": "<tabId>",
"keys": "<keys>"
},
"name": "press_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | ||
| tabId | Yes | Tab id from tabs_context | |
| repeat | No |