Get card due status
get-card-due-statusCheck one Anki card's due time and scheduling eligibility, optionally including learn-ahead, to determine if it is due or available without changing the deck.
Instructions
Checks one card's due time and per-card scheduling eligibility in Anki, optionally including learn-ahead. New cards can be available without being due. Does not account for daily deck limits, promise the card will be shown next, or change Anki. Requires AnkiConnect v1.
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": {
"cardId": "<cardId>"
},
"name": "get-card-due-status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cardId | Yes | One existing card ID, for example from search-cards. | |
| includeLearnAhead | No | Treat cards within Anki's learn-ahead window as available, without marking them due. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cardId | Yes | Anki card ID | |
| dueNow | Yes | The scheduled time or study day has arrived. Excludes new cards and learn-ahead. | |
| available | Yes | Eligible by the card's queue and timing, including new cards. Ignores daily deck limits and review order. | |
| learnAhead | Yes | The card is not due yet but is within Anki's learn-ahead window, regardless of includeLearnAhead. | |
| includeLearnAhead | Yes | Whether the request counted learn-ahead cards as available. |