Card details
get_cardEverything DeckCosmos knows about one card: rules text, type, color identity, legality, price, popularity rank, Game Changer status, its roles (what it provides and rewards), whether it can be a commander, and for commanders a build plan (strategy summary, key cards, finishers). Accepts exact names, front-face names of double-faced cards, and close spellings.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "get_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Card name, e.g. "Krenko, Mob Boss". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Card name. | |
| type | Yes | Type line. | |
| image | No | Card image URL (Scryfall). | |
| power | No | Power, for creatures. | |
| roles | Yes | Role keys: what the card provides and rewards (see reference what=roles). | |
| app_url | No | The card in the deckcosmos.com synergy map. | |
| buy_url | No | The card on TCGplayer (product search). | |
| keywords | No | Keyword abilities. | |
| legal_in | No | Formats it is legal in. | |
| page_url | No | The card's page on deckcosmos.com. | |
| mana_cost | No | Mana cost. | |
| price_usd | No | Approximate price in USD (Scryfall), or null if unknown. | |
| build_plan | No | For commanders: the strategy DeckCosmos builds around. | |
| mana_value | No | Mana value. | |
| oracle_text | No | Rules text (both faces for double-faced cards). | |
| combos_count | No | Known combos including the card (see find_combos). | |
| game_changer | No | On the official Commander Game Changers list. | |
| color_identity | Yes | Color identity letters in WUBRG order, e.g. "BG"; "" for colorless. | |
| popularity_rank | No | Rank by how many decks play it (1 = most). | |
| can_be_commander | Yes | Can be a Commander deck's commander. |