Answer the current quiz question
answer_quiz_questionSaves the answer of the customer to the current question of a quiz module, and returns the next question. Confirm the answer with the customer before you call this tool. Give the answer in the format that answer_format of the question names. A changed answer can remove the answers of questions that it hides, and it can restart the alignment of the couple. For the last screen of the quiz, give only the question_id: this finishes the module. The eligibility quiz finishes after its last question, and the result gives the next step and app_url. A result with status ineligible gives the reason and app_url: give both to the customer.
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": {
"module_slug": "<module_slug>",
"question_id": "<question_id>"
},
"name": "answer_quiz_question"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pets | No | ||
| value | No | The value of an input question. | |
| address | No | ||
| product | No | The product line. Send it for the eligibility questions, and when the customer has more than one paid agreement. | |
| option_ids | No | The selected option ids. | |
| other_text | No | The text of the customer for the option Other. | |
| module_slug | Yes | The slug of the quiz module, for example basic-information or financial-philosophy. Use eligibility, with product, for the eligibility questions before payment. | |
| question_id | Yes | The question_id of the current question. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| kind | No | ||
| pets | No | ||
| items | No | The items of an allocation question. picked is false until the customer picks. | |
| notes | No | ||
| title | No | ||
| status | Yes | ||
| app_url | Yes | ||
| options | No | ||
| progress | No | ||
| subtitle | No | ||
| next_step | No | ||
| field_label | No | ||
| module_slug | Yes | ||
| question_id | No | ||
| module_state | No | The state of the module for a write of the customer. open: a write saves. edit_restarts_alignment: a write saves, restarts the alignment of the couple, and can email the partner. Tell the customer this and get a yes before the write. closed: the tools refuse a write. Do not collect values. Give the customer next_step_url. | |
| saved_answer | No | ||
| answer_format | No | ||
| next_step_url | No | Only for a closed module: the app page that shows the next step. | |
| allocation_kind | No | ||
| educational_copy | No | ||
| waiting_for_partner | No |