# Drawstep engine · Costs · `exileGraveyard` > Exile graveyard — CR 118.12, 406.1: exile every card in the payer's graveyard ("unless its controller exiles all cards from their graveyard"); payable even when it is empty. Engine: Magic: The Gathering (`mtg`). This is one primitive of the Drawstep card vocabulary; field names and the discriminator are exact. Wiki page: https://drawstep.xyz/wiki/mtg/costs#exileGraveyard ## Where it goes One part of a `cost` object (an activated ability's cost, `mayPay`, `unlessPays`, an `additionalCost`): `{ "exileGraveyard": … }`; parts combine freely. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `exileGraveyard` | `boolean` | no | CR 118.12, 406.1: exile every card in the payer's graveyard ("unless its controller exiles all cards from their graveyard"); payable even when it is empty | ## Stock examples - **Grip of Amnesia** — “Counter target spell unless its controller exiles all cards from their graveyard.” ```json {"exileGraveyard":true} ``` ## Related - [Costs](https://drawstep.xyz/wiki/mtg/costs.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive