deck_validate
Validate a Magic: The Gathering decklist against format rules, checking legality, deck size, copy limits, color identity, singleton, and pauper rarity. Returns valid or invalid with error details.
Instructions
Validate a decklist against a format's construction rules.
Checks legality, deck size, copy limits, color identity (Commander), singleton rules, and Pauper rarity. Returns VALID or INVALID with actionable error messages.
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": {
"decklist": "<decklist>",
"format": "<format>"
},
"name": "deck_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Format to validate against (e.g. 'commander', 'modern', 'standard', 'legacy') | |
| decklist | Yes | Card names, optionally prefixed with quantity (e.g. '4x Lightning Bolt' or 'Lightning Bolt') | |
| commander | No | Commander card name (required for Commander format) | |
| sideboard | No | Sideboard card names, same format as decklist | |
| response_format | No | Output verbosity: 'detailed' (default) or 'concise' | detailed |