model_updateModelTemplates
Update templates of an existing Anki flashcard model by specifying the model name and defining new Front/Back templates.
Instructions
Modifies the templates of an existing model by name.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
model | Yes | Model object. Must include 'name' (model name) and 'templates' (dict of template name to Front/Back definitions). |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"model": {
"additionalProperties": true,
"description": "Model object. Must include 'name' (model name) and 'templates' (dict of template name to Front/Back definitions).",
"title": "Model",
"type": "object"
}
},
"required": [
"model"
],
"type": "object"
}