raxol_send_key
Send keystrokes to a headless Raxol session to control terminal UIs. Handles character, special, and modifier keys, and returns the updated screen for agent-based navigation.
Instructions
Sends a keystroke to a headless Raxol session and returns the updated screen content. Supports character keys ("q", "j", " "), special keys ("tab", "enter", "escape", "backspace", "up", "down", "left", "right"), and modifiers (ctrl, alt, shift).
Examples: {"id": "demo", "key": "tab"} {"id": "demo", "key": "q"} {"id": "demo", "key": "c", "ctrl": true}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Session identifier | |
| alt | No | Hold Alt modifier (default: false) | |
| key | Yes | Key to send: a character ("q", "j") or special key name ("tab", "enter", "escape", "up", "down", "left", "right", "backspace") | |
| ctrl | No | Hold Ctrl modifier (default: false) | |
| shift | No | Hold Shift modifier (default: false) | |
| wait_ms | No | Milliseconds to wait for dispatch processing before screenshot (default: 50) |