replace_tag
Replaces an old tag with a new tag on specified Anki notes, enabling efficient tag renaming across multiple cards.
Instructions
Rename a tag on the given notes (replace old_tag with new_tag).
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": {
"note_ids": "<note_ids>",
"old_tag": "<old_tag>",
"new_tag": "<new_tag>"
},
"name": "replace_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_tag | Yes | ||
| old_tag | Yes | ||
| note_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |