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
google-apps-script-webwebgoogle-meet-stagemcp-apps
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": [
    "google-apps-script-web",
    "web",
    "google-meet-stage",
    "mcp-apps"
  ],
  "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
Deploy your own Google Apps Script renderer

The renderer is an open-source Google Apps Script web app. 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 a2ui/apps-script-surface/gas-wired-renderer
clasp push && clasp deploy
Full deploy guide →