rename_deck
Rename or reparent a normal Anki deck by stable ID using its current expected name and a fully qualified new name; collisions, cycles, and invalid targets are rejected.
Instructions
With user authorization, rename/reparent a normal deck by stable ID. Use the exact current expected_name from list_decks and a fully qualified new_name. :: selects an existing parent; a plain name promotes to top level. Descendants keep IDs/settings/cards. Default/filtered decks, cycles and collisions are rejected; empty parents remain. One undo step; identical retries are safe while the desired state remains applied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck_id | Yes | ||
| new_name | Yes | ||
| expected_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||