# Drawstep engine · Keyword abilities & simple keywords · `craft` > Craft — Craft with [materials] {cost}: exile this and the materials; return it transformed (sorcery speed). 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/keywords#craft ## Where it goes One entry of `keywordAbilities[]`: `{ "keyword": "craft", … }`. Plain keywords with no parameter are strings in `keywords[]`. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `cost` | `CostDef` | yes | The cost (CostDef) | | `materials` | `{ filter?: ObjectFilter; count?: number; shareCardType?: boolean }` | yes | What must be exiled to craft: `{ filter?, count?, shareCardType? }` | ## Minimal form ```json {"keyword":"craft","cost":{"mana":"{1}"},"materials":{}} ``` The engine reads that minimal form as: “Craft with permanent {1}”. ## Related - [Keyword abilities & simple keywords](https://drawstep.xyz/wiki/mtg/keywords.md) — the whole topic - [Filters & targets](https://drawstep.xyz/wiki/mtg/targets.md) — how `target` / `filter` select objects and players (selection algebra) - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive