Play Flashcards
play_flashcardsFull Description
Render this widget only when the user unambiguously asks for an interactive flashcards quiz. Avoid triggering from generic requests to learn, summarize, explain, or practice.
Supported card formats:
- multiple_choice: question + choices + correct_index.
Content guidelines:
- All text must be plain text (no Markdown).
- Choose the quiz length based on the user's request/topic; keep it between 1 and 20 flashcards (default to 10 when unsure).
- Include requestedCardCount in the tool call to reflect your intended quiz length (must match the card array length). Never exceed the max.
- Keep questions within roughly 400 characters.
- Provide between two and four answer choices within roughly 200 characters each.
- Single-answer multiple choice only; exactly one choice is correct. If multiple answers seem correct, rewrite to make only one correct and return correct_index (integer). Do not use correct_indices or type=multiple_answer.
- Provide a hint for every card; use an empty string if unavailable.
- Keep hints within roughly 250 characters.
- Optional: include a
graphobject with eitherpoints(array of {x, y}) and/orfunctions(array of equation right-hand sides) when the question involves plotting f(x), intercepts, or coordinates.
Parameters
Required
cardsarrayArray of flashcards. Supported types: multiple_choice. Each card must include type="multiple_choice". Keep between 1 and 20 cards. All text must be plain text (no Markdown).
nextQuizTitlestringTitle for the next quiz CTA
Optional
requestedCardCountnumberRequested number of cards for this quiz. Should match the intended card array length.
Default:
null