Get the carrier's final price
zebra_get_rc2_priceGet the carrier's final price for a quote after zebra_submit_rc2_answers.
The carrier usually returns the final price 3 to 5 minutes after the answers are submitted. Each call waits a while for it. While price_status is in_progress, keep calling this tool without waiting for the user. If you have to stop while price_status is still in_progress, tell the user their final price isn't ready yet and to ask you again in a minute. If price_status is still in_progress 10 minutes after the answers were submitted, treat the price as unavailable. When price_status is priced, present price as the quote's final price, in place of the earlier estimate, and mention the other payment_plans if the user asks how to pay. When price_status is unavailable, a licensed insurance agent gives the user the final price. Either way, a licensed insurance agent finishes buying the policy with the user: by calling agency_phone, or online at continue_url, by chat or over the phone, during agency hours. Present agency_call_message as written: it says whether the agency is open now or when it opens, so never tell the user to call now when it says the agency is closed. If this tool fails with an agency_phone, call it again if retryable is true. Otherwise, or if it keeps failing, the final price comes from a licensed insurance agent: give the user agency_phone and the agency hours.
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_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote_id | Yes | The quote_id passed to zebra_submit_rc2_answers. | |
| 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 |
|---|---|---|---|
| price | No | The carrier's final price on its recommended plan. Replaces the quote's estimated price. | |
| agency_phone | No | The licensed agency the user calls to finish buying the policy. Absent while in_progress. | |
| continue_url | No | Where the user can finish online with a licensed agent during agency hours. | |
| price_status | Yes | in_progress: the carrier's final price is still being fetched. priced: price holds the final price. unavailable: there won't be an automated final price; a licensed insurance agent gives it instead. | |
| payment_plans | No | Every plan the carrier offers at the final price. | |
| agency_call_message | No | 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. Absent while in_progress. |