browser_key_down_up
Simulate individual keydown and keyup events to trigger custom keyboard combinations or modifier actions in browser automation.
Instructions
Fires a separate keydown or keyup event for custom key combinations or modifier actions.
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>",
"action": "<action>"
},
"name": "browser_key_down_up"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Name of the key (e.g., 'Shift', 'Control', 'a', 'ArrowUp'). | |
| action | Yes | Whether to press ('down') or release ('up') the key. |