Interpret a list request
interpret_listStart here: the buyer's own words become a list we can count, price and sell.
Give it what the buyer would type ("cleaning companies in Texas", "denver
plumbers formed last 30 days with a phone", "NAICS 238220") and you get
back a list shape in the one filter contract — `states`, `filters`, `sort`,
`lane`, `cap` — with a one-sentence `readback` to show the buyer, `assumed`
(every default and substitution, named), `unresolved` (the words it could
not place) and up to three `alternatives`. It is the same interpreter
behind the buy page's search box, so a person and an agent get the same
list from the same words. It never answers in prose, never asks a question
back, never looks a person up, and never emits a predicate on a masked
field (`contact_name`, `email_primary`, `phone_primary`).
When the buyer asked a question or raised an objection instead ("where does
this come from", "is it legal to call", "how fresh"), the response also
carries `answer` (`{family, headline, body, next_step, facts}`) — our
answer, in our words. Relay it to the buyer verbatim.
When the ask pulls two ways — the newest records AND a phone to call —
`alternatives` come back live-quoted (`quote: {records, total_cents,
unit_cents}`, a `why`, one `recommended`): call today · mail first with
phones verified on order · a standing order. The close is two questions:
present your human the quoted choice, then hand over the payment link for
the one chosen — per record, no minimums, so a small first order is the
normal first step.
Next: hand the shape to `quote_list` for the count and the price, then to
`checkout_list` to buy it.
Args:
text: What the buyer typed, in their own words.
state: Optional two-letter state hint (live states: CO, CT, FL, NY, TX, VA).
current: Optional current shape `{states, filters, lane, cap}` — the
answer merges into it instead of starting over.
Returns:
`{states, filters, sort, lane, cap, readback, assumed, unresolved,
alternatives, used_model}` — always a shape, never a 500.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| state | No | ||
| current | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||