Get Selected Device
get_selected_deviceRetrieve the currently focused Roku device in Dev Studio, including its IP, serial, and model details. Use this to resolve the target device for automated operations.
Instructions
Return the single device tab the user currently has focused in Dev Studio (ip, serial, modelName, friendlyDeviceName, …), or an empty/null result when no tab is focused. Read-only. Call this to resolve the implicit target before a device op when the user says "this device" / "the current one" and gave no IP. For the full inventory (all connected / discovered / remembered devices) use list_devices instead; to change the focus use connect_device.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||