Knowledge Check

Lightweight inline comprehension pulse — a single multiple-choice question with instant feedback and no score impact. Correct answer turns green with explanation; wrong answer turns red with explanation. All options lock after selection. No retry gate — learner simply continues reading.

Surfaces
apps-script-webwebmeet-stage
Fields
FieldType
questionstring (required). The comprehension question.required
optionsarray (required). Array of answer strings.required
correctinteger (required). Zero-based index of the correct answer.required
explanationstring. Explanation shown after any selection.optional
Example payload
{
  "type": "knowledge_check",
  "question": "Which option do you prefer?",
  "options": [
    {
      "label": "Option A",
      "value": "a"
    },
    {
      "label": "Option B",
      "value": "b"
    },
    {
      "label": "Option C",
      "value": "c"
    }
  ],
  "correct": 1
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:knowledge_check",
  "displayName": "Knowledge Check",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/knowledge_check",
  "capabilities": [
    "apps-script-web",
    "web",
    "meet-stage"
  ],
  "description": "Lightweight inline comprehension pulse \u2014 a single multiple-choice question with instant feedback and no score impact. Correct answer turns green with explanation; wrong answer turns red with explanation. All options lock after selection. No retry gate \u2014 learner simply continues reading.",
  "representativeQueries": [
    "show a inline comprehension pulse \u2014 single question, instant feedback, no score pressure",
    "lightweight inline comprehension pulse \u2014 a single multiple-choice question with instant feedback and",
    "render a knowledge check"
  ]
}
← Full ARD catalog Try it live →
Deploy your own renderer

The renderer is open source. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.

git clone https://github.com/a2uicatalog/a2ui
cd apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →