Get a practice question
get_practice_questionReturn private-pilot practice questions written for this course in the style of the FAA knowledge test (not actual FAA test questions), each with its answer choices, its topic, a question_id and a link to try it on pplfree.com. The correct answer is withheld by default so the user can attempt the question first. Once the user has answered, call again with that question_id and reveal_answer: true to get the correct choice and an explanation of why each choice is right or wrong. Use this when the user wants to be quizzed, asks for practice or test questions, wants to check their understanding of a topic, or is preparing for the FAA private-pilot knowledge test. Optionally scope it to a topic.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many questions to return (1-5, default 1). | |
| topic | No | Optional topic to draw from, e.g. "airspace", "weather", "aerodynamics", "regulations", "navigation", "weight-balance", "systems". Omit for any topic. | |
| question_id | No | A question_id from an earlier call, to return that exact question (typically with reveal_answer: true). Overrides topic and count. | |
| reveal_answer | No | Include the correct choice and the explanation. Default false: leave it off until the user has attempted the question. |