Launch the League of Legends client
lol_launch_clientLaunch the League of Legends client and optionally wait until the LCU REST API is ready, avoiding duplicate processes if it is already running.
Instructions
Launch the League of Legends client via Riot Client Services or LeagueClient.exe and optionally wait until the LCU REST API becomes responsive. If the client is already running and responsive, returns immediately without spawning a duplicate process. Behavior: Safe and idempotent. Prerequisite: League of Legends must be installed on the system.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional custom path to RiotClientServices.exe or LeagueClient.exe | |
| waitForReady | No | Whether to poll until the LCU REST API is fully responsive after launching (default: true) | |
| timeoutSeconds | No | Maximum seconds to wait for LCU readiness when waitForReady is true (2-120, default: 30) |