{
  "name": "Fenkell Rx Pharmacy",
  "description": "Submit prescription refill and transfer requests to Fenkell Rx Pharmacy in Detroit, MI.",
  "version": "1.0",
  "tools": [
    {
      "name": "submit_refill",
      "description": "Submit a prescription refill request to Fenkell Rx Pharmacy. The pharmacy will contact the patient when the medication is ready. This is a request only \u2014 not a prescription or guarantee of fulfillment. Always confirm with the user before submitting.",
      "url": "https://fenkellrxpharmacy.com/api/refill",
      "method": "POST",
      "parameters": {
        "type": "object",
        "required": [
          "firstName",
          "lastName",
          "dob",
          "phone",
          "rx"
        ],
        "properties": {
          "firstName": {
            "type": "string",
            "description": "Patient first name"
          },
          "lastName": {
            "type": "string",
            "description": "Patient last name"
          },
          "dob": {
            "type": "string",
            "description": "Date of birth in YYYY-MM-DD format"
          },
          "phone": {
            "type": "string",
            "description": "Patient phone number"
          },
          "rx": {
            "type": "string",
            "description": "Rx number(s) or medication name(s). Multiple values comma-separated."
          },
          "notes": {
            "type": "string",
            "description": "Optional additional notes or special instructions"
          },
          "agent_source": {
            "type": "string",
            "description": "Set to 'ai-agent' to identify this as an AI-submitted request"
          }
        }
      }
    },
    {
      "name": "submit_transfer",
      "description": "Submit a prescription transfer request to Fenkell Rx Pharmacy. The pharmacy will contact the patient's current pharmacy to complete the transfer. This is a request only \u2014 not a confirmation. Always confirm with the user before submitting.",
      "url": "https://fenkellrxpharmacy.com/api/transfer",
      "method": "POST",
      "parameters": {
        "type": "object",
        "required": [
          "firstName",
          "lastName",
          "dob",
          "phone",
          "rxName",
          "rxPhone"
        ],
        "properties": {
          "firstName": {
            "type": "string",
            "description": "Patient first name"
          },
          "lastName": {
            "type": "string",
            "description": "Patient last name"
          },
          "dob": {
            "type": "string",
            "description": "Date of birth in YYYY-MM-DD format"
          },
          "phone": {
            "type": "string",
            "description": "Patient phone number"
          },
          "rxName": {
            "type": "string",
            "description": "Name of the current pharmacy"
          },
          "rxPhone": {
            "type": "string",
            "description": "Phone number of the current pharmacy"
          },
          "prescriber": {
            "type": "string",
            "description": "Name of the prescribing doctor (optional)"
          },
          "method": {
            "type": "string",
            "enum": [
              "In-store pickup",
              "Home delivery (free)",
              "Curbside pickup"
            ],
            "description": "Preferred pickup/delivery method"
          },
          "notes": {
            "type": "string",
            "description": "Optional additional notes"
          },
          "agent_source": {
            "type": "string",
            "description": "Set to 'ai-agent' to identify this as an AI-submitted request"
          }
        }
      }
    },
    {
      "name": "get_hours",
      "description": "Get current pharmacy hours and whether Fenkell Rx Pharmacy is open right now.",
      "url": "https://fenkellrxpharmacy.com/api/hours",
      "method": "GET",
      "parameters": {
        "type": "object",
        "properties": {}
      }
    },
    {
      "name": "get_services",
      "description": "Get a full machine-readable JSON document of Fenkell Rx Pharmacy's services, accepted insurance plans, delivery area ZIP codes, and hours. Call this first to answer questions like 'Does Fenkell Rx accept Medicare?' or 'Does Fenkell Rx compound medications?' without asking the patient for personal information.",
      "url": "https://fenkellrxpharmacy.com/api/services",
      "method": "GET",
      "parameters": {
        "type": "object",
        "properties": {}
      }
    },
    {
      "name": "check_delivery_zip",
      "description": "Check whether a patient's ZIP code is in Fenkell Rx Pharmacy's free same-day delivery area. Call this before submitting a refill or transfer to confirm delivery is available.",
      "url": "https://fenkellrxpharmacy.com/api/check-delivery",
      "method": "GET",
      "parameters": {
        "type": "object",
        "required": [
          "zip"
        ],
        "properties": {
          "zip": {
            "type": "string",
            "description": "5-digit ZIP code to check"
          }
        }
      }
    }
  ]
}