get_active_player_runes
Retrieve the active player's current rune setup from the League of Legends client to analyze gameplay configuration.
Instructions
Retrieve the full list of runes for the active player.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- main.py:110-118 (handler)The handler function implementing the 'get_active_player_runes' MCP tool. It uses the @mcp.tool() decorator for registration and @with_timeout decorator for error handling. Fetches the active player's runes from the League of Legends live client API endpoint.@mcp.tool() @with_timeout async def get_active_player_runes() -> dict: """ Retrieve the full list of runes for the active player. """ async with get_lol_client() as client: response = await client.get("/liveclientdata/activeplayerrunes") return response.json()