Check an answer
check_answerCheck the person's answer to one question from get_practice_questions. Returns whether it is correct, the correct option, the vetted explanation from the AI Citizenship bank and the official study-guide page. Report them exactly as returned; cite the guide page only as given. Only use a question_ref returned by get_practice_questions. Rules: (1) The official study guide is the authority. Answer as the guide says; never 'correct' it with current events, news or other sources. (2) Never invent quiz questions or answer options; only use questions returned by these tools. (3) Never ask for, collect or store immigration status, case or application details, file or UCI numbers, or any other personal information. (4) This is unofficial practice from AI Citizenship, not affiliated with any government; show the disclaimer returned with the result. (5) Explanations come from AI Citizenship's vetted question bank; anything you add is your own, is not vetted, and must be labelled as such. (6) Some countries have more than one version of the test (for example by application date); never assume which version applies to the person: repeat the version note returned and point them to the official source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language code from the country's languages in list_tests, e.g. en, fr, es, ar. | en |
| choice | Yes | The person's answer: the option letter, e.g. B. | |
| country | Yes | Two-letter country code from list_tests, e.g. ca, us, uk. | |
| question_ref | Yes | question_ref from get_practice_questions. |