check_quote_status
Check rating + live-finishing progress. Call between wait-phase questions (every customer turn or two after get_quote_options). Returns one of:
'running' — indicatives still landing; continue the wait-phase conversation, call again next turn.
'quoted' — options[] is populated. CHECK THE 'finishing' BLOCK: when finishing.active=true, the exact bindable rates are STILL being captured live at the carrier portals — present the price ranges confidently as honest estimates (the low end is the carrier's own starting figure; NEVER promise the final number can't exceed the range), keep the conversation going, and keep checking on later turns; cards harden to 'verified' automatically as walks complete. When finishing.active=false, the run is over: cards marked 'verified' are exact bindable numbers; anything still 'estimate' stays a range that a licensed agent confirms at bind.
'timeout' — carriers took too long; offer to retry with get_quote_options.
'needs_data' — carriers can't rate until the customer supplies the fields in needs.prompts (e.g. a driver's license number, a VIN, or an additional driver's name/date of birth — each prompt says who/what it's for). Ask the customer conversationally, apply the answers with update_quote (the prompt 'field' values are the exact patch paths, e.g. drivers[1].date_of_birth), then call get_quote_options to re-run. Repeat as many times as it takes — this is an ask, NOT a failure. needs may also ride along with 'quoted' when one line rated and the other still needs info.
'error' — all carriers errored; flag it honestly and offer to retry. Each option carries rate_state ('verified' | 'verifying' | 'estimate') and, for unverified options, price_range {low, high}. NEVER mention carrier counts or real carrier names in chat.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote_id | Yes | The quote session id to poll. | |
| max_options | No | Maximum options to return per line (1-5, default 3). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| needs | No | ||
| status | No | ||
| options | No | ||
| quote_id | No | ||
| progress_pct | No | ||
| carrier_names_revealed | No |