gui_deck_review
Start reviewing a specific flashcard deck in Anki by providing the deck name. This tool integrates with Anki MCP to streamline the review process.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deckName | Yes | Name of the deck to start reviewing |
Implementation Reference
- src/tools/graphical.ts:197-219 (registration)Registers the MCP tool 'gui_deck_review' with Zod input schema for deckName and an inline async handler function that delegates to ankiClient.graphical.guiDeckReview({ name: deckName }) to open the deck review in Anki's GUI, returning a success message or throwing an error.server.tool( 'gui_deck_review', { deckName: z.string().describe('Name of the deck to start reviewing'), }, async ({ deckName }) => { try { const result = await ankiClient.graphical.guiDeckReview({ name: deckName }); return { content: [ { type: 'text', text: `Successfully started review for deck "${deckName}". Result: ${result}`, }, ], }; } catch (error) { throw new Error( `Failed to start deck review: ${error instanceof Error ? error.message : String(error)}` ); } } );