add_flashcard_deck
Add a flashcard deck to a site, creating a flashcards section if needed. Supports cards with front, back, hint, and code.
Instructions
Add a new flashcard deck to a site.
Creates a flashcards section if the site does not have one yet. Cards are reviewed with an SM-2 spaced-repetition schedule in the browser.
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": {
"slug": "<slug>",
"deck": "<deck>"
},
"name": "add_flashcard_deck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | Yes | {"id","name","description","tags","cards":[{"front","back","hint","code","code_language"}]} | |
| slug | Yes | ||
| section_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||