Get a random card
get_random_cardFetch a random Magic: The Gathering card, optionally filtered by a Scryfall search query. Returns either a summary or full card object.
Instructions
Fetch a single random card, optionally constrained by a Scryfall query.
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": "get_random_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Optional Scryfall query to constrain the random card. | |
| full | No | Return the full card object instead of a summary. |