Get note type schema
get-note-type-schemaRetrieve an Anki note type's ordered fields, browser sort field, card-template field usage, and field-order revision hash before creating notes or changing fields.
Instructions
Returns ordered fields, the Browser sort field (v1), card-template field usage, and a field-order revision hash for one Anki note type. Use this before creating notes or changing fields.
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-schema"
}
}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 |
|---|---|---|---|
| noteType | Yes |