lookup_hero
Convert hero names, aliases, and short names into canonical identities for Dota 2 and Deadlock, ensuring batru.gg prediction tools accept them.
Instructions
Normalise a hero name/alias/shortName to its canonical identity.
Use this to turn messy user input ("am", "anti mage", "Anti-Mage") into the exact key batru.gg expects before calling the prediction tools. The backend SILENTLY DROPS hero names it doesn't recognise, so always normalise first.
Args: query: A hero name, alias, or short name. game: "dota2" (default) or "deadlock".
Returns {id, displayName, shortName, game} for the best match, or an error
with did_you_mean candidates if nothing matches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | No | dota2 | |
| query | Yes |