desktop_press_keys
Send deliberate keyboard chords like Ctrl+S or Return to a chosen window on Linux, validating state between repetitions for reliable shortcut execution.
Instructions
Send a deliberate chord, e.g. ctrl+s, ctrl+plus, ctrl+minus, Return, Tab, Escape or Down. Punctuation uses X11 names (plus, equal, bracketleft, slash); implicit Shift follows the current layout. count is 1–20 complete press/release repetitions, default 1. Revalidates target identity, focus and input state between repetitions; stops on the first failure and never retries. Automatically chooses independent input where supported or foreground control otherwise. Refuses held input on the selected devices and preserves their keyboard mapping. Foreground fallback can change human focus. Unavailable symbols return UNSUPPORTED_KEYMAP; text belongs in desktop_type. When a final companion receipt is available, progress reports fully dispatched, possibly partial and not-started repetitions. Dispatched count is not application completion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chord | Yes | ||
| count | No | ||
| window_id | Yes |