onda_terminal_send_keys
Send special key sequences (Ctrl+C, arrows, F1-F12) to a terminal for tmux-like control. Maps semantic key names to stdin bytes, with raw text fallback for other input.
Instructions
Send semantic key sequences to a terminal (Ctrl+C, Up, Enter, Esc, F5, Tab, ...). Each entry in keys is mapped to the appropriate stdin bytes. Supports Ctrl+, Arrow keys, Function keys F1-F12, Enter/Tab/Esc/Backspace/Delete/Home/End/PageUp/PageDown/Insert/Space, and raw literal text as fallback. Use this for tmux-like control instead of onda_terminal_send when you need to type special keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Terminal ID to send to. | |
| keys | Yes | Ordered list of key names. Example: ["Ctrl+C"], ["Up", "Up", "Enter"], ["Esc", ":wq", "Enter"]. |