Export deck
export_deckExport a deck (id or name) as plain decklist text: Commander section first when set (both of a pair), then a Companion section when the deck names one, then the "N Card Name" lines of the main deck, then a Sideboard section when there is one, the companion repeated there as Arena writes it (pinned printings keep their set/collector number). import_deck reads it back whole.
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": {
"deck": "<deck>"
},
"name": "export_deck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | Yes | Deck id or name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decklist | Yes |