Create notes
create-notesValidates a batch of Anki notes and creates them only after all inputs pass, optionally merging existing media references and returning per-note status so partial or unknown outcomes are visible.
Instructions
Validates the complete batch before creating Notes, optionally merging existing media references. Returns a status for every input and preserves acknowledged IDs if readback fails. A null createdNoteCount means an unknown creation outcome; null cardIds means unverified readback. Partial/unknown outcomes are errors with structured results. Never blindly resend the whole batch; duplicate checks are not idempotency. No automatic retry or rollback.
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": {
"notes": "<notes>"
},
"name": "create-notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | One or more notes to validate and create as one batch |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outcome | Yes | ||
| warnings | Yes | ||
| noteResults | Yes | ||
| validations | Yes | ||
| createdNotes | Yes | ||
| reportedNoteIds | Yes | Distinct IDs reported by AnkiConnect, including unmapped IDs from malformed replies; not proof of ownership or creation | |
| createdNoteCount | Yes | Exact acknowledged count when every creation outcome is known; null if any outcome is unknown | |
| reportedNoteIdsTruncated | Yes |