Submit answers to the carrier
zebra_submit_rc2_answersSubmit the user's answers to the questions from zebra_get_rc2_questions, all at once.
On success, a licensed insurance agent at agency_phone finishes buying the policy with the user. Present agency_call_message as written: it says whether the agency is open now or when it opens. Never tell the user to call now when it says the agency is closed, and never promise a voicemail or a callback. When continue_url is returned, also offer it: the user can finish online with a licensed insurance agent during agency hours. When price_status is in_progress, the carrier's final price is on its way: tell the user and follow recommended_next. If it fails with an agency_phone, this quote can't be bought in chat right now. Call again if retryable is true. Otherwise, or if it keeps failing, give the user agency_phone and the agency hours to finish with a licensed insurance agent, or offer them another quote from zebra_get_rc1_rates.
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>",
"answers": "<answers>"
},
"name": "zebra_submit_rc2_answers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answers | Yes | Every answer, including the current_values the user kept, keyed by field_key (each part of a grouped question under its child_field_keys key). Answer a CHECKBOX question with a list of the chosen values, even when only one is chosen: ["Yes"], not "Yes". | |
| quote_id | Yes | The quote_id passed to zebra_get_rc2_questions. | |
| 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 |
|---|---|---|---|
| agency_phone | Yes | The licensed agency the user calls to finish buying the policy. | |
| continue_url | No | Where the user can finish online with a licensed insurance agent, by chat or over the phone, during agency hours. | |
| price_status | Yes | in_progress: the carrier's final price is being fetched; follow recommended_next. unavailable: there won't be an automated final price; a licensed insurance agent gives it. | |
| recommended_next | No | The tool to call next for the final price. Absent when price_status is unavailable. | |
| agency_call_message | Yes | What to tell the user next: whether the agency is open now or when it opens, the phone number, and the agency hours. Present it as written. |