change_deck
Move specified cards to a different deck using card IDs, allowing targeted reorganization of flashcards.
Instructions
Move cards into a different deck.
Operates on card IDs (AnkiConnect's `changeDeck` is card-scoped). If you only
have note IDs, call `inspect_cards(note_ids=...)` first — a single note's cards
can legitimately live in different decks, so this tool never silently expands
notes into cards.
Args:
card_ids: Card IDs to move.
deck: Target deck name (e.g. "Spanish::Verbs").
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": {
"card_ids": "<card_ids>",
"deck": "<deck>"
},
"name": "change_deck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card_ids | Yes | ||
| deck | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |