deck_validate
Validate a decklist against a Magic format's construction rules. Identifies illegal cards, incorrect deck size, copy limit violations, and other errors.
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 |
|---|---|---|---|
| decklist | Yes | Card names, optionally prefixed with quantity (e.g. '4x Lightning Bolt' or 'Lightning Bolt') | |
| format | Yes | Format to validate against (e.g. 'commander', 'modern', 'standard', 'legacy') | |
| 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 |