Delete Card
delete_cardDelete a specific flashcard from a deck using its front text. Prevents removal of the deck's last card; delete the deck instead.
Instructions
Delete a single card from a deck, identified by its front text. Refuses to delete a deck's last card (delete the deck instead).
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": {
"deck_name": "<deck_name>",
"front": "<front>"
},
"name": "delete_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| front | Yes | The card's front text (identifies the card). | |
| deck_name | Yes | Deck the card belongs to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | Yes | ||
| cards | Yes | ||
| count | Yes | ||
| dueCount | Yes | ||
| newCount | Yes | ||
| quizDecks | No | ||
| availableDecks | Yes |