opendota_hero_stats
Returns Dota 2 hero base stats plus OpenDota pick/win counts and win rates for professional games (with bans), public games, turbo and the eight rank brackets (Herald to Immortal). Filter with primary_attr (agi, all, int, str), attack_type (Melee, Ranged) and role (Carry, Disabler, Durable, Escape, Initiator, Nuker, Pusher, Support); sort with sort (id, name, pro_pick, pro_win, pro_ban, pro_win_rate, pub_pick, pub_win, pub_win_rate, turbo_pick, turbo_win_rate) and desc; cap with limit. Use it to see what is being picked and banned in pro play.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "opendota_hero_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| desc | No | Optional; true sorts descending (the default for every key except id and name). | |
| role | No | Optional role filter: Carry, Disabler, Durable, Escape, Initiator, Nuker, Pusher or Support. | |
| sort | No | Optional sort key: id (default), name, pro_pick, pro_win, pro_ban, pro_win_rate, pub_pick, pub_win, pub_win_rate, turbo_pick or turbo_win_rate. | |
| limit | No | Optional number of heroes to return, 1 to 200; defaults to all. | |
| attack_type | No | Optional attack type filter: Melee or Ranged. | |
| primary_attr | No | Optional primary attribute filter: agi, all, int or str. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |