press_key
Simulate keyboard input by pressing one or more keys together at the current focus in a Chrome browser tab, enabling shortcuts like Enter or Ctrl+A to trigger actions and automate interactions.
Instructions
Press a key or chord at the current focus, e.g. keys=['Enter'] or ['Control','a'].
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": {
"keys": "<keys>"
},
"name": "press_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | Key names to press together. | |
| tab_id | No | Optional tab id. |