# Drawstep engine · Effects · `collectEvidence` > Collect evidence — CR 701.59: exile graveyard cards with total mana value N or greater; an impossible optional collection cannot be chosen. 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/effects#collectEvidence ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "collectEvidence", … }`. Steps resolve in order. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `amount` | `ValueDef` | yes | How many / how much (integer or ValueDef) | | `optional` | `boolean` | no | "You may": the player chooses whether to do it | ## Minimal form ```json {"effect":"collectEvidence","amount":1} ``` The engine reads that minimal form as: “collect evidence 1”. ## Stock examples - **Evidence Witness** — “When this creature enters, you may collect evidence 4.” ```json {"effect":"collectEvidence","amount":4,"optional":true} ``` - **Evidence Examiner** — “At the beginning of combat on your turn, you may collect evidence 4.” ```json {"effect":"collectEvidence","amount":4,"optional":true} ``` ## Related - [Effects](https://drawstep.xyz/wiki/mtg/effects.md) — the whole topic - [Values](https://drawstep.xyz/wiki/mtg/values.md) — every number kind an `amount` accepts - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive