import_deck
Convert pasted decklist text into an MTG deck, returning the deck ID and any unrecognized lines.
Instructions
Create a deck from pasted decklist text, one entry per line (e.g. "4 Lightning Bolt"). Returns the new deck id plus any lines that could not be resolved to a card. Requires IWMM_API_KEY.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"text": "<text>"
},
"name": "import_deck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Deck name. | |
| text | Yes | Decklist text, one entry per line. | |
| format | No | Target format. Omit for no format. |