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.
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 |