ankiweb_get_study_cards
Fetch 1-2 due AnkiWeb study cards from a selected deck or any deck, returning clean question and answer text for card review.
Instructions
Fetch the current lookahead window (1-2 cards) of due study cards from AnkiWeb.
Pass deck (case-insensitive deck name, subdeck leaf name, or ID) to select
that deck first; if not found, returns deck_not_found with available_decks
and closest_matches.
Each returned card provides clean question_text (CSS stripped) and
answer_only_text (back side only, split past <hr id=answer>). When you
submit a rating via ankiweb_answer_card, it automatically returns the next
due cards and updated counts—do not call ankiweb_get_study_cards again
after every answer.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ankiweb_get_study_cards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||