get_active_player_abilities
Retrieve ability information for the currently active player in League of Legends to access cooldowns, levels, and descriptions during gameplay.
Instructions
Get Abilities for the active player.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- main.py:99-108 (handler)The handler function decorated with @mcp.tool() and @with_timeout that fetches the active player's abilities from the League of Legends live client API endpoint and returns the JSON response.@mcp.tool() @with_timeout async def get_active_player_abilities() -> dict: """ Get Abilities for the active player. """ async with get_lol_client() as client: response = await client.get("/liveclientdata/activeplayerabilities") return response.json()