press_key
Press one key or chord on the focused element: Escape (close a dialog), Tab, Shift+Tab, ArrowDown, PageDown, Enter. Use type_text for text. Returns the resulting snapshot.
Instructions
Press one key or chord on the focused element: Escape (close a
dialog), Tab, Shift+Tab, ArrowDown, PageDown, Enter.
Use type_text for text. Returns the resulting snapshot.
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 |
|---|---|---|---|
| key | Yes | ||
| include_snapshot | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |