add_note
Add a note to an Anki deck and note type by supplying field names with HTML/text values; returns the new note ID.
Instructions
Add a single note. 'fields' maps the note type's field names to their HTML/text values (e.g. {'Front': '...', 'Back': '...'}). The deck and note type (model) must already exist. Returns the new note ID.
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": {
"deck": "<deck>",
"model": "<model>",
"fields": "<fields>"
},
"name": "add_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | Yes | ||
| tags | No | ||
| model | Yes | ||
| fields | Yes | ||
| allow_duplicate | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||