get_scenarios_lane_roles
Get time-segmented win rates for heroes in any lane role to identify early, mid, and late game performance trends and optimal lane choices.
Instructions
Get win rates for heroes in specific lane roles segmented by game duration.
Use this when users ask:
"What's [hero]'s win rate in mid lane by game time?"
"How does [hero] perform in offlane at different game lengths?"
"Show me lane role statistics for [hero]"
"Which heroes are best in [lane] for long games?"
"What's the win rate for mid laners at 30 minutes?"
"Does [hero] scale better in late game when played as carry?"
"Which lane should I play [hero] in for short games?"
Provides time-segmented win rate data showing how heroes perform in specific lanes at different stages of the game. This helps understand which heroes thrive in early/mid/late game scenarios and optimal lane choices.
Supports both IDs and natural language for flexible querying.
Args: lane_role: Lane to analyze. Accepts: - Integer: 1 (Carry-Position 1/Hard Support-Position 5), 2 (Mid), 3 (Offlane-Position 3/Soft Support-Position 4), 4 (Jungle/Support) - String: "mid", "safe lane", "offlane", "jungle", "carry", "support" "pos 1-5", etc. hero_name: Hero to analyze. Accepts: - Integer: Hero ID (e.g., 86 for Rubick) - String: Hero name (e.g., "Rubick", "Anti-Mage")
Note: At least one parameter must be provided. You can provide:
- Only hero_name: See all lanes for this hero by game time
- Only lane_role: See all heroes in this lane by game time
- Both: See specific hero in specific lane by game timeReturns: Dictionary with structure depending on parameters provided:
If only hero_name provided:
- hero_name (str): The hero being analyzed
- [lane_role keys]: One key per lane (e.g., "Safe Lane", "Mid Lane"), each containing:
- List of timing data with time, games, wins, win_rate
If only lane_role provided:
- lane_role (str): The lane being analyzed (e.g., "Mid Lane")
- [hero_name keys]: One key per hero, each containing:
- List of timing data with time, games, wins, win_rate
If both provided:
- hero_name (str): The hero
- lane_role (str): The lane
- timings (list): List of timing data with time, games, wins, win_rate
Each timing entry contains:
- time (str): Game duration in MM:SS format (e.g., "25:30")
- games (int): Number of games at this duration
- wins (int): Number of wins at this duration
- win_rate (str): Win percentage as string (e.g., "56.7")Common queries: - Hero in specific lane: get_scenarios_lane_roles(lane_role="mid", hero_name="Rubick") - All heroes in lane: get_scenarios_lane_roles(lane_role="mid") - Hero in all lanes: get_scenarios_lane_roles(hero_name="Anti-Mage")
Example: get_scenarios_lane_roles(lane_role="mid", hero_name="Rubick") -> { "hero_name": "Rubick", "lane_role": "Mid Lane", "timings": [ {"time": "20:00", "games": 145, "wins": 78, "win_rate": "53.8"}, {"time": "30:00", "games": 234, "wins": 125, "win_rate": "53.4"}, {"time": "40:00", "games": 189, "wins": 98, "win_rate": "51.9"}, {"time": "50:00", "games": 87, "wins": 42, "win_rate": "48.3"}, ... ] }
This shows Rubick's mid lane win rate decreases slightly as games go longer, suggesting he's stronger in early-mid game than late game.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hero_name | No | ||
| lane_role | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||