Get the carrier's follow-up questions
zebra_get_rc2_questionsGet the questions the carrier needs answered before the user can buy the quote they picked.
Ask the questions in order. Ask a question if any of its visibility_conditions is met, or, when it has none, if is_visible is true. Check this again after each answer, because an answer can make new questions appear. Of the questions you'll ask, read back the ones with a current_value together and ask if any have changed; ask the rest one by one. For a question with child_field_keys, send each part under its child key. If the user doesn't want to give a driver's license number, or you're not allowed to collect it, send null for it: the licensed agent will ask for it on the call or in the chat.
Then call zebra_submit_rc2_answers once with the same quote_id and every answer, including the current_values the user kept. If the user's driver or vehicle details change, call zebra_get_rc1_rates and this tool again: the questions depend on them.
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": {
"quote_handle": "<quote_handle>",
"quote_id": "<quote_id>"
},
"name": "zebra_get_rc2_questions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote_id | Yes | The quote_id of the quote the user picked, from zebra_get_rc1_rates. | |
| quote_handle | Yes | The quote_handle that zebra_start_session returned. It expires 24 hours after zebra_start_session; if a tool reports it unknown or expired, start a new session. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote_id | Yes | The quote_id these questions are for. | |
| questions | Yes | The questions to ask the user, in order. |