press_keys
Send keyboard shortcuts and key combinations to a headless X11 desktop, enabling automation of applications and workflows without affecting the user's session.
Instructions
Press key combos, space-separated: 'ctrl+l', 'Return', 'ctrl+shift+t alt+F4'.
Key names are X keysyms (Return, Tab, Escape, BackSpace, Up, F5, a, 1, ...).
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": {
"keys": "<keys>"
},
"name": "press_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | ||
| repeat | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |