Press key
pressSend keyboard keys or combinations (Enter, Tab, Escape, shortcuts) to a browser, optionally focusing an element first, to trigger form submission, navigation, or interactive actions.
Instructions
Press a key or key combination: Enter, Tab, Escape, Backspace, ArrowDown, Control+A, Shift+Enter, F5, etc. Optionally focus an element first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "press"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Enter | |
| ref | No | ||
| delay | No | ||
| tabId | No | ||
| frameId | No | ||
| timeout | No | ||
| trusted | No | ||
| noSubmit | No | Do not submit a form when pressing Enter. | |
| selector | No | ||
| waitUntil | No | domcontentloaded |