press_key
Simulate keyboard input to interact with web pages through anti-detection browser automation, enabling human-like key presses and combinations for automated tasks.
Instructions
Press a keyboard key or combination
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": "press_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | Page ID (uses active page if not specified) | |
| key | Yes | Key to press (e.g., "Enter", "Tab", "Control+a") |