Send Remote Key
keypressSend one ECP remote key to a Roku device, simulating a physical remote press to navigate and control the interface. Use for button commands; for text entry, use input_text instead.
Instructions
Send one ECP remote key (e.g. "Home", "Up", "Select", "Play") to a Roku device — mirrors a physical remote press. Mutates on-screen state: each key advances the UI, so repeated calls are NOT a no-op. Use keypress for navigation/transport keys; to type characters into a focused text field use input_text (far faster than sending "Lit_" keys one at a time).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ECP key name. See list_keypress_options for the full set. | |
| device | No | Target device — IP (e.g. "192.168.1.154") or serial (e.g. "X00046N6S6F"). Omit to use the focused device. |