compare_prices
Price of one medicine with the free FineRx card at US pharmacy chains, near a place.
Use when the person asks what a medicine costs, where it costs less, or its
price near them or in a ZIP code. ``drug`` is a name as typed or a slug from
search_drugs; ``strength`` ("10 mg"), ``form`` ("tablet") and ``quantity``
are optional (the package with the most chains priced is used). ``zip`` is a
5-digit US ZIP — pass it only when the person gave one; without it the host's
approximate location is used when there is one, else the answer is national
and asks for a ZIP. ``ndc`` (+ ``quantity``) is accepted for older callers.
``compare_to`` is a dollar amount the person named for THIS package — their
insurance copay, what they pay now, or a price they want to hear about —
and the answer then says how many chains were seen below it.
Returns the package, every chain's card price with its observation date
(Walmart per state), the nearest store of each chain with a store nearby,
chains with a card price but no store nearby, coverage (``other_quantities``
lists the pack sizes that were seen), and the card: codes, the dated price
with the card, and the card sentence.
Next: quote each price with its date and chain; say the price is set per
chain; then the card sentence and codes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ndc | No | ||
| zip | No | ||
| drug | No | ||
| form | No | ||
| locale | No | ||
| channel | No | ||
| quantity | No | ||
| strength | No | ||
| compare_to | No |