Get note type design
get-note-type-designRetrieve a note type's editable front/back HTML, shared CSS, fields, and revision hash before proposing design changes or editing its card layout.
Instructions
Returns the editable front/back HTML, shared CSS, fields, and revision hash for one Anki note type. Use this before proposing design changes.
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": {
"modelName": "<modelName>"
},
"name": "get-note-type-design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modelName | Yes | Anki note type name. AnkiConnect calls note types "models" in its API. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | Yes | ||
| noteType | Yes | ||
| templates | Yes | ||
| designHash | Yes | SHA-256 hash of the current CSS and card templates | |
| scopeWarning | Yes |