Exam task
show_exam_taskDisplays one practice item in an exam's own format, for a learner who wants exam practice: a short text, a question, options and an optional timer. The view checks the pick and shows the explanation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"exam": "<exam>",
"text": "<text>",
"ask": "<ask>",
"options": "<options>",
"answer": "<answer>",
"explain": "<explain>",
"lang": "<lang>"
},
"name": "show_exam_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ask | Yes | ||
| exam | Yes | ||
| fold | No | true: a secondary widget of this reply, made now and shown folded: only its title row, until one click opens it. Omit it on the reply's main widgets, which show open. | |
| lang | Yes | BCP 47 code of the language the widget teaches: "nl". The view speaks and saves its words in it. | |
| next | No | Up to 3 one-tap next steps shown under the widget: label is the button's text, ask the message a tap sends. | |
| text | Yes | ||
| gloss | No | ||
| answer | Yes | ||
| explain | Yes | ||
| options | Yes | ||
| seconds | No |