Rename or move a deck
rename-deckPreviews and applies a native Anki deck rename or move under an existing parent, preserving identity and requiring impact hash plus explicit confirmation.
Instructions
Previews a native Anki deck rename or move under an existing parent. Preserves deck and card identity, reviews descendant paths, and requires the impact hash and explicit confirmation before applying. Requires AnkiConnect v1.
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>",
"newName": "<newName>"
},
"name": "rename-deck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact current full deck path | |
| dryRun | No | ||
| newName | Yes | New full path; the destination parent must already exist | |
| confirmRename | No | ||
| expectedImpactHash | No | Impact hash from the reviewed rename preview |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deckId | Yes | ||
| dryRun | Yes | ||
| applied | Yes | ||
| changes | Yes | ||
| blockers | Yes | ||
| verified | Yes | ||
| warnings | Yes | ||
| impactHash | Yes | ||
| changeCount | Yes |