get_player_peers
Find a Dota 2 player's frequent teammates. View games played, wins, win rate, and average GPM/XPM with each teammate, with filters for heroes, lanes, or specific players.
Instructions
Get players who frequently play WITH the specified player (teammates, not opponents).
Use this when users ask about TEAMMATES or PARTY MEMBERS:
"Who does [player] play with?"
"Who are [player]'s teammates?"
"What's [player]'s win rate with [teammate]?"
"Show me [player]'s most common party members"
"Who does [player] duo with?"
"Find [player]'s frequent teammates"
This returns players who have been ON THE SAME TEAM as the specified player. Results are sorted by number of games played together (most frequent first).
Supports both IDs and natural language for flexible querying.
Args: player_name: The Dota 2 player name to search for limit: Number of matches to analyze (default: all recent matches) offset: Skip first N matches (for pagination) lane_role: Filter to games where player was in specific lane hero_id: Filter to games where player played specific hero included_account_id: Get stats for SPECIFIC teammate(s) only (accepts names or IDs) excluded_account_id: Exclude specific players from results (accepts names or IDs) with_hero_id: Filter to games with these heroes on player's team against_hero_id: Filter to games against these enemy heroes peers_count: Number of teammates to return (default 5, increase for more results)
Returns: List of teammate statistics (sorted by games together, descending), each containing: - account_id (int): Teammate's account ID - personaname (str): Teammate's display name - last_played (str): Date of most recent game together (e.g., "December 09, 2024") - wins (int): Games won together - games_played (int): Total games played together - win_rate (str): Win rate as percentage string (e.g., "67.5") - average_gpm (float): Player's average GPM when playing with this teammate - average_xpm (float): Player's average XPM when playing with this teammate
Common queries: - Top teammates: get_player_peers("kürlo", peers_count=10) - Specific teammate stats: get_player_peers("kürlo", included_account_id="hotpocalypse") - Teammates on Rubick: get_player_peers("kürlo", hero_id="Rubick") - Recent duos: get_player_peers("kürlo", limit=100, peers_count=5)
Example: get_player_peers("kürlo", peers_count=3) -> [ {"account_id": 123456, "personaname": "hotpocalypse", "last_played": "December 09, 2024", "wins": 45, "games_played": 78, "win_rate": "57.7", "average_gpm": 456.3, "average_xpm": 523.1}, ... ]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| hero_id | No | ||
| lane_role | No | ||
| peers_count | No | ||
| player_name | Yes | ||
| with_hero_id | No | ||
| against_hero_id | No | ||
| excluded_account_id | No | ||
| included_account_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |