# Drawstep engine · Keyword abilities & simple keywords · `splice` > Splice — Splice onto [quality] (a subtype name or an object filter): reveal from hand while casting such a spell and pay the cost to add this card's effects. 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#splice ## Where it goes One entry of `keywordAbilities[]`: `{ "keyword": "splice", … }`. Plain keywords with no parameter are strings in `keywords[]`. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `onto` | `string \| ObjectFilter` | yes | What the spell splices onto (a subtype such as "Arcane", or a filter) | | `cost` | `CostDef` | yes | The cost (CostDef) | ## Minimal form ```json {"keyword":"splice","onto":"","cost":{"mana":"{1}"}} ``` The engine reads that minimal form as: “Splice onto {1}”. ## Stock examples - **Evermind** — “Draw a card.” ```json {"keyword":"splice","onto":"Arcane","cost":{"mana":"{1}{U}"}} ``` - **Everdream** — “Draw a card.” ```json {"keyword":"splice","onto":{"anyTypes":["Instant","Sorcery"]},"cost":{"mana":"{2}{U}"}} ``` - **Shifting Borders** — “Exchange control of two target lands.” ```json {"keyword":"splice","onto":"Arcane","cost":{"mana":"{3}{U}"}} ``` ## 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