Count Batch Cards
count_batch_cardsCount the Anki card budget for a batch: QA notes count as one card each, and each distinct cloze cN index counts as one card. Returns totals, within-limit status, and excess.
Instructions
Count the Anki card budget for a batch. QA notes = 1 card each. Cloze notes: each distinct cN index = 1 card. Returns qa_cards, cloze_notes, cloze_indices (expanded count), total, within_limit (≤20), excess, and ext_batch_suggested if over the limit.
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": {
"qa_csv": "<qa_csv>",
"cloze_csv": "<cloze_csv>"
},
"name": "count_batch_cards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qa_csv | Yes | ||
| batch_id | No | ||
| cloze_csv | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||