Find a targeted card replacement
find_replacementsGiven a complete Commander decklist or public deck URL, commander, and replaceCard, propose at most one comparable-role replacement. The requested cut must be in the deck and cannot be the commander or protected. Preserve budget, owned, locked, excluded, color identity, legality, theme and bracket safeguards. Can return no safe swap. Heuristics are not functional equivalence. Show tradeoffs, warnings and optional missing-card affiliate purchase summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | Yes | Full quantity-prefixed decklist, or a public HTTPS Moxfield/Archidekt deck URL without query parameters. | |
| owned | No | Quantity-prefixed owned cards, up to 150 card entries and 16000 characters. Split larger collections before analysis. | |
| locked | No | ||
| qaTest | No | Internal QA only: set true when the user explicitly says this is our test run. Excludes the call from usage/revenue statistics. Omit for normal player requests. | |
| bracket | No | ||
| excluded | No | ||
| budgetUsd | No | ||
| commander | Yes | ||
| maxChanges | No | ||
| replaceCard | Yes |