Read a Schwanki deck
get_deck_cardsReads the cards in one Schwanki deck: front, back, optional reading and example sentence, plus review progress (next due date, reviews, lapses). Returns up to 200 cards per call; use offset to page through larger decks.
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": {
"deckId": "<deckId>"
},
"name": "get_deck_cards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many cards to return. Omit for 100 | |
| deckId | Yes | Deck id from list_decks | |
| offset | No | How many cards to skip, for reading the next page of a large deck. Omit to start at the first card |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Deck id | |
| cards | Yes | This page of cards, in deck order | |
| title | Yes | Deck name | |
| total | Yes | Cards in the whole deck, for paging with offset | |
| language | Yes | Language the deck teaches, as a language code |