Find Pharmacy Stores

Overview

find_pharmacy_stores searches for pharmacy stores near a ZIP code for prescription transfers. Call this tool when a patient needs to find a pharmacy to transfer their prescriptions to. It returns store names, addresses, hours, and whether curbside pickup or drive-thru is available.

Required Parameters

zip_code (string)

  • ZIP code to search near.

Optional Parameters

address (string)

  • Default: None
  • Street address to narrow the store search.

city (string)

  • Default: None
  • City to narrow the store search.

radius (integer)

  • Default: None
  • Search radius in miles.

count (integer)

  • Default: None
  • Maximum number of stores to return.

debug (boolean)

  • Default: False
  • Whether to display debugging information.

Returns

A StoreSearchResult containing:

  • stores — list of matching pharmacy stores, each with:
    • name — store name
    • store_number — store number
    • store_close_time — store closing time
    • pharmacy_close_time — pharmacy closing time
    • address — intersection, city, and ZIP code
    • curbside_pickup — whether curbside pickup is available
    • drive_thru — whether drive-thru is available
  • count — number of stores returned

Notes

This is typically the first step in the prescription transfer flow: check_transfer_eligibility (verify the prescriptions can be moved) is often run first, followed by find_pharmacy_stores to search near the patient's ZIP code, then get_pharmacy_hours for the chosen store, and finally transfer_prescription to submit the transfer.


Did this page help you?