generate_flashcards
Generate flashcards from Obsidian notes with support for glob patterns, card count, and deck selection. Optionally create cards from a chat query or match existing deck schema.
Instructions
Generate flashcards using obsidianki.
Args:
notes: Note patterns to process (e.g., ["frontend/*", "docs/*.md:3"]). Supports glob patterns with optional sampling using :N suffix. You can leave this blank if the user does not specify.
cards: Number of flashcards to generate (number of cards to generate, recommend 3-6 if set)
query: Optional query/topic for generating content from chat. Important for generating new content rather than from existing notes.
deck: Optional deck name (defaults to user's default deck)
use_schema: If true, uses existing cards from the deck to match specific card format (--use-schema flag)Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| cards | No | ||
| query | No | ||
| deck | No | ||
| use_schema | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |