convert_csv_to_json
Converts CSV content into flashcard JSON, assigning columns to card fronts, backs, and optional tags for creating interactive flashcard sets.
Instructions
Convert CSV content to flashcard JSON format.
Args: csv_content: Raw CSV content as string front_columns: Comma-separated column indices for card front (e.g., "0,1") back_columns: Comma-separated column indices for card back (e.g., "2,3") tags_column: Column index for tags (optional) has_header: Whether CSV has header row title: Title for the flashcard set description: Description of the flashcard set column_separator: Separator for multi-column content template: Template type for styling theme: Theme for styling
Returns: JSON string of complete flashcard data
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | light | |
| title | No | CSV Imported Flashcards | |
| template | No | minimal | |
| has_header | No | ||
| csv_content | Yes | ||
| description | No | Flashcards converted from CSV data | |
| tags_column | No | ||
| back_columns | No | 1 | |
| front_columns | No | 0 | |
| column_separator | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |