Attach media to notes
attach-media-to-notesAppends or prepends media references to existing Anki note fields without overwriting unrelated HTML, with dry-run preview enabled by default.
Instructions
Safely appends or prepends references to existing Anki media without replacing unrelated note-field HTML. Defaults to dry-run mode.
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": {
"attachments": "<attachments>"
},
"name": "attach-media-to-notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview exact field hashes and references without modifying Anki | |
| attachments | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | Yes | ||
| errors | Yes | ||
| applied | Yes | ||
| changes | Yes | ||
| changedFieldCount | Yes |