tv_launch
Launch TradingView Desktop with Chrome DevTools Protocol enabled on a specified port when the app is not running, auto-detecting the executable path.
Instructions
Launch TradingView Desktop with Chrome DevTools Protocol (remote debugging) enabled on target port. Auto-detects executable path across Windows, macOS, and Linux. WHEN TO USE: Call automatically when tv_health_check fails due to TradingView not running. SIDE EFFECTS: EXTERNAL_SIDE_EFFECT (Spawns desktop application process, optionally terminates existing instances). LIMITATIONS: Requires TradingView Desktop to be installed on the local system.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | CDP port (default 9222) | |
| kill_existing | No | Kill existing TradingView instances first (default true) |