Press

Send a keyboard key to the current tab.

terminal
pinchtab press Enter
curl -X POST http://localhost:9867/action \  -H "Content-Type: application/json" \  -d '{"kind":"press","key":"Enter"}'
Response
OK

CLI Flags

FlagDescription
--jsonFull JSON response
--tabTarget specific tab

Common keys include Enter, Tab, Escape, ArrowDown, ArrowUp, Backspace, Delete.