tvpilot

v0.1.0
io.github.CloudCorpRecords/tvpilot Checked 4 days ago Published 1 month ago

Android TV remote: list devices, send keys, launch apps, play titles, and observe the screen.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

tv.list_devices

List TVs paired with the caller's token.

tv.send_key

Send a single key event to the TV.

ParameterTypeDescription
key *stringKey event to send: POWER, HOME, UP, DOWN, LEFT, RIGHT, OK, BACK, VOL_UP, or VOL_DOWN.

tv.launch_app

Open an Android Intent on the TV: a deep link, package launch, or arbitrary URL.

ParameterTypeDescription
data *stringDeep link, Intent URI, or URL for the TV to open.
packagestringAndroid package id to launch when the data value alone does not select the app.

tv.list_apps

Enumerate installed apps on the TV.

tv.play_title

Resolve a natural-language title to a provider deep link and play it on the TV.

ParameterTypeDescription
title *stringNatural-language title of the movie or show to play.
countrystringCountry code used to resolve provider availability and deep links.
episodeintegerEpisode number to play, within the chosen season.
providerstringStreaming provider to play on: netflix, disney_plus, prime_video, max, hulu, apple_tv_plus, paramount_plus, peacock, fubo_tv, youtube, or stremio.
seasonintegerSeason number to play.
yearintegerRelease year, used to disambiguate same-name titles.

tv.observe

Read back the TV screen state: foreground app, focused element, and visible clickable nodes.