card_random
Get a random Magic: The Gathering card. Use an optional Scryfall query filter to restrict the random pool, returning the full card object.
Instructions
A random Magic card. An optional q= filter uses the same Scryfall query syntax as card_search. Returns the full card object.
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": "card_random"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Optional Scryfall query to restrict the random pool |