find_and_replace_in_models
Efficiently find and replace text in Anki card templates, including front, back, and CSS, for specified models to streamline content updates.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
back | Yes | Whether to search in back templates | |
css | Yes | Whether to search in CSS | |
fieldText | Yes | Text to find | |
front | Yes | Whether to search in front templates | |
modelName | Yes | Name of the model to search in | |
replaceText | Yes | Text to replace with |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"back": {
"description": "Whether to search in back templates",
"type": "boolean"
},
"css": {
"description": "Whether to search in CSS",
"type": "boolean"
},
"fieldText": {
"description": "Text to find",
"type": "string"
},
"front": {
"description": "Whether to search in front templates",
"type": "boolean"
},
"modelName": {
"description": "Name of the model to search in",
"type": "string"
},
"replaceText": {
"description": "Text to replace with",
"type": "string"
}
},
"required": [
"modelName",
"fieldText",
"replaceText",
"front",
"back",
"css"
],
"type": "object"
}