browser_press_key
Sends keystrokes such as Enter, Escape, Tab, or ArrowDown to the currently focused element on a web page, enabling AI agents to submit forms, confirm dialogs, navigate fields, and control page interaction.
Instructions
向当前焦点元素发送按键,如 Enter / Tab / ArrowDown
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 | 键名,如 Enter、Escape、Control+A |