press_keys
Send keyboard chords to the active window in a shotbox session, press them in sequence, hold combinations, or keep keys down across calls for moves and clicks.
Instructions
Press keys in turn, each a chord: Tab, Return, Escape, ctrl+s, alt+shift+Tab, F6. They go to whatever has the keyboard; click a window first if nothing does. hold presses them all together and keeps them down that long (walking while running); state down leaves them down, across calls, until a call with state up (move or click while a key is held).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hold | No | Seconds to keep it down before letting go | |
| keys | Yes | Chords, pressed one after another | |
| state | No | Only press, leaving it down until a call with up; or only let go | |
| session | Yes | Its name, from start_session |