Connect to a Device
connect_deviceOpens or focuses a Dev Studio device tab for a Roku, making it the active target for renderer-routed commands; only connects currently reachable devices.
Instructions
Open (or focus, if already open) a Dev Studio device tab for the given Roku, making it the active target for renderer-routed tools (rale_command, telnet_*, app_function, get_telnet_log). Required device: Roku IP or serial from list_devices / scan_devices. Idempotent — a no-op if that device is already connected and focused. Not needed for main-direct ECP ops (keypress, launch_app, ecp_query, …) on local/remote devices, which accept a device argument directly; use test_connection to verify reachability without opening a tab. Only connects a device that's actually reachable right now — fails with a clear reason instead of guessing: a local device must be currently discoverable, a remote device's RDS Relay location must be online, and an rce (Roku Cloud Emulator) device must already be running — this tool will never start one; tell the user to start it in Roku Dev Studio first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | Required non-empty string: LAN IP (e.g. "192.168.1.68") or device serial exactly as shown by list_devices / scan_devices. |