Expo Launch Video

v0.1.2
io.github.Rudrasamadhiya/expo-launch-video Checked 4 days ago Published 1 month ago

Record your Expo app on a real phone and edit a 1080p launch video with motion graphics and sound.

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

app_status

Check whether the mobile app is connected and show device info. Call first.

app_snapshot

Compact text outline of the current screen (buttons, inputs, text, lists) with refs like [e3] to act on. Prefer this over screenshots.

ParameterTypeDescription
maxLinesintegerdefault 400

app_layout

Positions (dp, window coordinates) and font sizes of elements on the current screen. For layout checks and visual work; app_snapshot is cheaper for acting.

ParameterTypeDescription
limitintegermax elements, default 250

app_screenshot

JPEG screenshot of the app. Use only for visual/layout questions; app_snapshot is cheaper for finding elements. With saveTo, writes the file and returns only its path (no image tokens).

ParameterTypeDescription
areastringauto (default) = visible screen; window = whole window incl. overlays
fullScrollbooleancapture the whole content of the main scroll view as one tall image
maxWidthintegerpixels, default 400
qualitynumber0-1, default 0.6
saveTostringfile path (.jpg) to save instead of returning the image

app_batch

Run several actions in one call (fastest way to fill forms or walk a flow). Returns the screen once at the end. Steps: {action:"tap"|"type"|"scroll"|"toggle"|"navigate"|"wait"|"dismiss_keyboard", ...that tool's args}.

ParameterTypeDescription
steps *array
fullbooleanfull screen instead of a diff
snapshotbooleanreport the screen afterwards (default true)

app_tap

Press a button/pressable element. Returns what changed on screen plus any new errors.

ParameterTypeDescription
fullbooleanfull screen instead of a diff
longbooleanlong press
refstringref from the last snapshot, e.g. "e4"
snapshotbooleanreport the screen afterwards (default true)
testIDstringtestID prop of the element
textstringvisible label/placeholder (exact match first, then contains)

app_type

Set text in an input (replaces by default). Target by ref, testID, or placeholder text.

ParameterTypeDescription
value *string
appendboolean
fullbooleanfull screen instead of a diff
refstringref from the last snapshot, e.g. "e4"
snapshotbooleanreport the screen afterwards (default true)
submitbooleanfire onSubmitEditing (like pressing enter)
testIDstringtestID prop of the element
textstringvisible label/placeholder (exact match first, then contains)

app_scroll

Scroll a list/ScrollView (first one on screen if no target).

ParameterTypeDescription
amountnumberpixels, default ~70% of screen
directionstring
fullbooleanfull screen instead of a diff
refstringref from the last snapshot, e.g. "e4"
snapshotbooleanreport the screen afterwards (default true)
testIDstringtestID prop of the element
textstringvisible label/placeholder (exact match first, then contains)

app_toggle

Flip a Switch (or set it with value).

ParameterTypeDescription
fullbooleanfull screen instead of a diff
refstringref from the last snapshot, e.g. "e4"
snapshotbooleanreport the screen afterwards (default true)
testIDstringtestID prop of the element
textstringvisible label/placeholder (exact match first, then contains)
valueboolean

app_navigate

Open a route (expo-router path like "/settings") or a full deep link.

ParameterTypeDescription
path *string
fullbooleanfull screen instead of a diff
replacebooleanreplace the current screen instead of pushing (keeps the stack shallow)
snapshotbooleanreport the screen afterwards (default true)

app_wait

Wait until text or a testID appears (or disappears with gone=true). Cheaper than polling snapshots.

ParameterTypeDescription
goneboolean
testIDstring
textstring
timeoutintegerms, default 5000, max 30000

app_logs

Console logs and JS errors captured in the app.

ParameterTypeDescription
clearboolean
levelstring"error" = errors only, "warn" = warnings and errors
limitintegerdefault 50
searchstring
sinceintegeronly entries after this cursor (returned as "cursor")

app_network

HTTP requests made by the app (fetch/XHR) with status, timing and truncated bodies.

ParameterTypeDescription
bodiesbooleaninclude request/response bodies (default false)
failedOnlyboolean
limitintegerdefault 30
searchstringsubstring of URL
sinceinteger

app_eval

Run JavaScript inside the app (dev only) and return the JSON result. Expression or statements with return. `bridge` and `RN` (react-native) are in scope.

ParameterTypeDescription
code *string

app_reload

Reload the JS bundle (like pressing r in Metro).

app_dismiss_keyboard

Hide the on-screen keyboard.

device_key

Press a hardware/system key on an Android device via adb (USB or Wi-Fi debugging): volume_up, volume_down, mute, back, home, app_switch, enter, tab, delete, power, menu, escape.

ParameterTypeDescription
key *string
repeatinteger

video_capture

Capture app screens for the launch video: screenshot, element positions and the full scroll content. Give routes to capture several screens in one call (in video order), or nothing to capture the current screen.

ParameterTypeDescription
namestringname for the current screen when routes is empty
routesarrayexpo-router paths, e.g. ["/dashboard", "/analytics"]
scrollbooleancapture scroll content (default true)

video_record

Screen-record the phone for a few seconds (real frames, ~6-12 fps): optionally navigate first, scroll smoothly, or tap an element mid-way. The clip plays in the video as a live recording.

ParameterTypeDescription
liveLoadbooleanrecord the page opening (default true when route is given)
namestring
routestringpage to open; the opening (loading, entrance animations) is recorded live
scrollboolean | numberscroll smoothly while recording (true, or distance in dp)
scrollFromnumberwhen scrolling starts, as a fraction of the recording (default 0.5 with route: hold while the page loads)
secondsnumber1-15, default 4
tapstringvisible text of an element to tap mid-recording
tapAtnumbersecond at which to tap (default: halfway)

video_capture_tap

Capture an interaction: the current screen, a tap on an element (animated finger + ripple in the video) and the screen it leads to.

ParameterTypeDescription
namestringname for the screen before the tap
refstring
testIDstring
textstring

video_plan

Build the video timeline from all captured screens: intro, one scene per screen with automatic timing, zooms, scroll speed-ups and captions, then an outro. Replaces the current timeline.

ParameterTypeDescription
appNamestring
ctastring
formatstring
taglinestring
targetSecondsnumberdesired total length

video_timeline

Show the current video timeline (compact).

video_edit

Edit the timeline. ops is a list of: {op:"update", scene, duration?, speed?, title?, subtitle?, transition?("slide"|"fade"|"zoom"|"rise"|"none"), focus?(element label | {x,y,w,h} dp | null), zoom?(1-3), zoomTimes?([inStart,inEnd,outStart,outEnd] recording seconds, for recordings), scroll?(0-1 | false), callouts?, popouts?} {op:"move", scene, to(number|"first"|"last") | before | after} · {op:"remove", scene} · {op:"add", asset, at?} · {op:"drop", asset} (discard a bad capture) {op:"settings", format?, appName?, tagline?, cta?, captionSide?("left"|"right"), sound?{sfx: bool, volume: 0-1}, the…

ParameterTypeDescription
ops *array

video_studio

Open the studio in the browser: live preview, timeline, per-scene controls and a prompt box where the user can type edits.

ParameterTypeDescription
openbooleanopen the browser (default true)

video_render

Render the video to MP4 (in the studio tab, opening it if needed) and return the file path.

video_wait_for_prompt

Wait for the user to type an edit request in the studio prompt box (ones the studio could not apply itself). Apply it with video_edit, answer with video_reply, then call this again to keep collaborating.

ParameterTypeDescription
timeoutSecondsintegerdefault 600

video_reply

Show a short message to the user in the studio chat.

ParameterTypeDescription
text *string