browser_press_key
Press a specific keyboard key, such as 'ArrowLeft' or 'Enter', during browser automation to simulate user input.
Instructions
Press a key on the keyboard.
Args:
key: Name of the key to press (e.g., 'ArrowLeft', 'Enter', 'a')
Returns:
Success message
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": "browser_press_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |