Press a keyboard key
press_keyPress an allow-listed key in the active Linux app, optionally with ctrl, alt, shift, or super modifiers, for desktop automation.
Instructions
Press one allow-listed key with optional ctrl, alt, shift, or super modifiers in the focused Linux app.
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 | ||
| modifiers | No | ||
| interval_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| action | Yes | ||
| backend | Yes | ||
| message | Yes |