Connect to a Device
connect_deviceOpen or focus a Dev Studio device tab for a Roku device, setting it as the active target for renderer-routed tools. Accepts a device IP or serial from list_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, …), which accept a device argument directly; use test_connection to verify reachability without opening a tab.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | Required non-empty string: LAN IP (e.g. "192.168.1.75") or device serial exactly as shown by list_devices / scan_devices. |