Get deck preset
get-deck-presetReads a deck preset's settings and lists the decks that use it, accepting either a preset ID or a normal deck ID. Use AnkiConnect v1 to resolve the preset assigned to a deck.
Instructions
Reads a deck preset's settings and the decks that use it. Pass a preset ID or a normal deck ID. Requires AnkiConnect v1.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get-deck-preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deckId | No | Resolve the preset currently assigned to this normal deck | |
| presetId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset | Yes | ||
| assignedDecks | Yes | ||
| assignedDeckCount | Yes |