tv_launch
Launch a TV app in debug mode and attach via CDP to establish a QA session. Supports fresh start, reload, or attach to a running instance.
Instructions
Debug-launch the app and attach over CDP. Establishes the session used by all other tools. By default it kills any running instance first for a deterministic fresh start. reload:true reloads the page in place (same process, keeps localStorage). relaunch:true forces a fresh kill+launch. attach:true reuses the inspector of an app already running in debug, keeping its state.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tv_launch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attach | No | Attach to a running instance without killing it (skips the fresh-start kill). | |
| device | No | Device id from devices.json. Omit to use the default device. | |
| reload | No | Reload the page in place when already attached (does not clear localStorage). | |
| relaunch | No | Force a fresh kill + debug-launch even if already attached. |