ECP Query (read-only)
ecp_queryInspect a Roku device's current state with read-only ECP queries: fetch device info, installed apps, active app, and media player status. No state changes.
Instructions
Run a read-only ECP GET against a device (device info, installed apps, active app, media player state, …). Pick an endpoint from list_query_presets or pass any /query/* path. Read-only — does not change device state. This is the go-to inspection tool; for state-changing POSTs use ecp_post, and to enumerate app ids call this with "/query/apps".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Target device — IP (e.g. "192.168.1.137") or serial (e.g. "X0004EX9Q7M"). Omit to use the focused device. | |
| endpoint | Yes | ECP path (e.g. /query/active-app) or telnet preset (e.g. telnet:plugins). |