model_modelFieldAdd
Adds a custom field to an existing Anki flashcard model, enabling enhanced data organization and flexibility in card creation.
Instructions
Adds a new field to an existing model.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fieldName | Yes | Name of the new field to add. | |
index | No | Optional 0-based index to insert the field at. | |
modelName | Yes | Name of the model to modify. |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"fieldName": {
"description": "Name of the new field to add.",
"title": "Fieldname",
"type": "string"
},
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional 0-based index to insert the field at.",
"title": "Index"
},
"modelName": {
"description": "Name of the model to modify.",
"title": "Modelname",
"type": "string"
}
},
"required": [
"modelName",
"fieldName"
],
"type": "object"
}