hearthstone_cards
List one page of public Hearthstone cards with the card gallery's native controls for sets, classes, keywords, rarities, Battlegrounds, Mercenaries, Arena, text search and sorting, and return the source card records with page counts. Discover valid filter values and sort slugs with hearthstone_card_filters; the default request is the all-class Standard set.
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": "hearthstone_cards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Optional batch lookup of up to 100 numeric card IDs (repeatable or comma-separated). The source then returns exactly those cards, including non-collectible ones, and ignores every other filter, so ids can only be combined with locale. | |
| set | No | Optional set slug: standard (default when no gameMode is set), wild, core, legacy or any expansion slug from hearthstone_filters (sets); set groups and classic are not valid. An unknown value returns no cards. Do not combine with gameMode arena or duels. | |
| page | No | Upstream page number | |
| sort | No | Optional sort: a comma-separated list of field or field:asc|desc with field one of manaCost, tier, name, attack, health, dateadded, classes, groupByClass or groupByRole (the sort slugs in hearthstone_filters); defaults to the gallery order. Use order for the direction of a bare field. | |
| tier | No | Optional repeatable Battlegrounds tavern-tier filter. | |
| type | No | Optional repeatable card type slug: minion, spell, weapon, hero, location, hero power, trinket, dark gift, timewarp or baconquestreward; see hearthstone_filters (types). Types that no collectible card has return no cards unless collectible includes 0. | |
| class | No | Optional class slug, or a comma-separated list: all (default), neutral, deathknight, demonhunter, druid, hunter, mage, paladin, priest, rogue, shaman, warlock or warrior; discover the current slugs with hearthstone_filters (classes). Case-insensitive; an unknown value returns no cards. | |
| order | No | Optional direction asc or desc for a sort given as a bare field name. | |
| attack | No | Optional repeatable source attack filter. | |
| health | No | Optional repeatable source health filter. | |
| locale | No | Optional card locale: de_DE, en_GB, en_US, es_ES, es_MX, fr_FR, it_IT, ja_JP, ko_KR, pl_PL, pt_BR, ru_RU, th_TH, zh_TW or zh_CN; defaults to en_US. | |
| rarity | No | Optional rarity slug (a comma-separated list is accepted): free, common, rare, epic or legendary. | |
| faction | No | Optional faction slug: grimy_goons, jade_lotus, kabal, zerg, terran or protoss. | |
| keyword | No | Optional keyword slug, for example taunt, battlecry, divine-shield or spell-damage; discover them with hearthstone_filters (keywords). The slug is matched case-insensitively against the catalog and sent to the source exactly as it lists it (most slugs carry trailing whitespace). One keyword only. | |
| gameMode | No | Optional game mode: arena (current Arena pool), battlegrounds, mercenaries or duels (retired, returns no cards). Constructed formats are selected with set=standard or set=wild, not gameMode. | |
| manaCost | No | Optional repeatable source mana-cost filter. | |
| pageSize | No | Optional source page size, 1 to 450; defaults to 450. | |
| bgCardType | No | Optional Battlegrounds card type: hero, minion, quest, reward, anomaly, spell, trinket or timewarp (live-verified); an unknown value returns no cards. | |
| bgGameMode | No | Optional Battlegrounds mode: solos or duos (use with gameMode battlegrounds); other values are ignored by the source. | |
| minionType | No | Optional minion-type slug such as beast, murloc or dragon; discover values with hearthstone_filters (minionTypes). | |
| textFilter | No | Optional source card text search. | |
| collectible | No | Optional repeatable source collectible selector; the gallery serializes selected 0/1 values as a comma-separated list. | |
| spellSchool | No | Optional spell-school slug (a comma-separated list is accepted): arcane, fire, frost, nature, holy, shadow, fel, lesser_trinket or greater_trinket. | |
| filterLocale | No | Optional locale of the textFilter search: a site locale such as en-us or de-de (en_US spelling also accepted); defaults to en-us. Other values are rejected because the source hangs on them. | |
| mercenaryRole | No | Optional Mercenaries role: caster, fighter or tank (use with gameMode mercenaries). | |
| mercenaryFaction | No | Optional Mercenaries faction: alliance, horde, empire, explorer, legion, pirate or scourge (use with gameMode mercenaries). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |