fetch_due_cards_for_review
Retrieve flashcards due for review from Anki decks, optionally filtered by deck name, limit, and due date range, for streamlined studying.
Instructions
Fetch cards due for review, formatted for an LLM to present.
Args:
deck: Optional[str] - Filter by specific deck name.
limit: int - Maximum number of cards to fetch (default 5).
today_only: bool - If true, only fetch cards due today. If false, fetch cards due up to MAX_FUTURE_DAYS ahead (currently {MAX_FUTURE_DAYS}).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
deck | No | ||
limit | No | Max cards to fetch. | |
today_only | No | True=only today's cards, False=cards due up to MAX_FUTURE_DAYS ahead. |
Input Schema (JSON Schema)
{
"properties": {
"deck": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Deck"
},
"limit": {
"default": 5,
"description": "Max cards to fetch.",
"minimum": 1,
"title": "Limit",
"type": "integer"
},
"today_only": {
"default": true,
"description": "True=only today's cards, False=cards due up to MAX_FUTURE_DAYS ahead.",
"title": "Today Only",
"type": "boolean"
}
},
"title": "fetch_due_cards_for_reviewArguments",
"type": "object"
}