nex_browser_press_key
Presses a specified key on the selected page or focused element, with optional page, session, and target selection via snapshot ref or CSS selector.
Instructions
Press a key on the selected page or focused element.
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": "nex_browser_press_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| pageId | No | Defaults to the active page | |
| target | No | Snapshot ref (e12) or unique CSS selector | |
| sessionId | No | Defaults to the active session |