Rename note type
rename-note-typePreviews renaming an existing Note Type by ID, changing only its name—not fields, templates, notes, or cards—then requires a reviewed impact hash and explicit confirmation to apply.
Instructions
Previews renaming an existing Note Type by ID. Changes only the type name, not fields, templates, Notes, or Cards. Applying requires the reviewed impact hash and explicit confirmation. 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": {
"noteTypeId": "<noteTypeId>",
"newName": "<newName>"
},
"name": "rename-note-type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview without modifying Anki | |
| newName | Yes | ||
| noteTypeId | Yes | Stable ID from list-note-types | |
| confirmRename | No | ||
| expectedImpactHash | No | Hash returned by the reviewed rename preview |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | Yes | ||
| applied | Yes | ||
| newName | Yes | ||
| blockers | Yes | ||
| verified | Yes | ||
| warnings | Yes | ||
| beforeName | Yes | ||
| impactHash | Yes | ||
| noteTypeId | Yes |