{
  "schema_version": "1.0",
  "name": "baekrokdam-clinic",
  "description": "Baekrokdam Korean Medicine Clinic — AI agent interface for clinic info, programs, availability, booking, and telemedicine consultation. Supports Korean, English, Japanese, Chinese, and Vietnamese.",
  "contact": {
    "email": "hello@baekrokdam.com",
    "url": "https://www.baekrokdam.com"
  },
  "tools": [
    {
      "name": "get_clinic_info",
      "description": "Get clinic information including name, address, hours, telemedicine availability, prescription delivery policy, and foreign patient FAQ.",
      "url": "https://www.baekrokdam.com/api/mcp",
      "method": "POST",
      "content_type": "application/json",
      "input_schema": {
        "type": "object",
        "properties": {
          "locale": {
            "type": "string",
            "enum": ["ko", "en", "ja", "zh-hans", "vi"],
            "default": "ko",
            "description": "Language for the response"
          }
        }
      },
      "response_schema": {
        "type": "object",
        "properties": {
          "name": { "type": "string" },
          "english_name": { "type": "string" },
          "telemedicine_available": { "type": "boolean" },
          "prescription_delivery": { "type": "string" },
          "contact": { "type": "object" },
          "hours": { "type": "object" },
          "foreign_patient_faq": { "type": "array" }
        }
      }
    },
    {
      "name": "list_programs",
      "description": "List available programs (diet, digestive health, etc.) with optional telemedicine filter.",
      "url": "https://www.baekrokdam.com/api/mcp",
      "method": "POST",
      "content_type": "application/json",
      "input_schema": {
        "type": "object",
        "properties": {
          "locale": {
            "type": "string",
            "enum": ["ko", "en", "ja", "zh-hans", "vi"],
            "default": "ko",
            "description": "Language for program titles and descriptions"
          },
          "telemedicine_only": {
            "type": "boolean",
            "default": false,
            "description": "If true, only return programs available for remote consultation"
          }
        }
      },
      "response_schema": {
        "type": "object",
        "properties": {
          "programs": { "type": "array" },
          "locale": { "type": "string" },
          "total": { "type": "number" }
        }
      }
    },
    {
      "name": "get_program_details",
      "description": "Get detailed information about a specific program by ID.",
      "url": "https://www.baekrokdam.com/api/mcp",
      "method": "POST",
      "content_type": "application/json",
      "input_schema": {
        "type": "object",
        "properties": {
          "program_id": {
            "type": "string",
            "description": "Program ID (e.g., 'diet-herbal', 'digestive-health')"
          },
          "locale": {
            "type": "string",
            "enum": ["ko", "en", "ja", "zh-hans", "vi"],
            "default": "ko",
            "description": "Language for details"
          }
        },
        "required": ["program_id"]
      },
      "response_schema": {
        "type": "object",
        "properties": {
          "id": { "type": "string" },
          "title": { "type": "string" },
          "description": { "type": "string" },
          "telemedicine_available": { "type": "boolean" },
          "prescription_delivery": { "type": "string" },
          "sections": { "type": "array" }
        }
      }
    },
    {
      "name": "search_content",
      "description": "Search blog posts, topics, and FAQ content by keyword.",
      "url": "https://www.baekrokdam.com/api/mcp",
      "method": "POST",
      "content_type": "application/json",
      "input_schema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Search keyword (e.g., 'diet', 'digestion', 'herbal')"
          },
          "locale": {
            "type": "string",
            "enum": ["ko", "en", "ja", "zh-hans", "vi"],
            "default": "ko",
            "description": "Language for search results"
          }
        },
        "required": ["query"]
      },
      "response_schema": {
        "type": "object",
        "properties": {
          "query": { "type": "string" },
          "results": { "type": "array" },
          "total": { "type": "number" }
        }
      }
    },
    {
      "name": "check_availability",
      "description": "Check available consultation time slots for a date range (up to 14 days).",
      "url": "https://www.baekrokdam.com/api/mcp",
      "method": "POST",
      "content_type": "application/json",
      "input_schema": {
        "type": "object",
        "properties": {
          "start_date": {
            "type": "string",
            "description": "Start date (YYYY-MM-DD). Defaults to today."
          },
          "end_date": {
            "type": "string",
            "description": "End date (YYYY-MM-DD). Defaults to 7 days from start."
          }
        }
      },
      "response_schema": {
        "type": "object",
        "properties": {
          "start_date": { "type": "string" },
          "end_date": { "type": "string" },
          "days": { "type": "array" }
        }
      }
    },
    {
      "name": "book_appointment",
      "description": "Book a remote Korean medicine diet consultation. A staff member will follow up within 24 hours.",
      "url": "https://www.baekrokdam.com/api/mcp",
      "method": "POST",
      "content_type": "application/json",
      "input_schema": {
        "type": "object",
        "properties": {
          "name": { "type": "string", "description": "Patient full name" },
          "phone": { "type": "string", "description": "Phone number (Korean: 010-XXXX-XXXX, International: include country code)" },
          "type": { "type": "string", "enum": ["remote", "visit"], "default": "remote", "description": "Consultation type" },
          "language": { "type": "string", "enum": ["ko", "en", "ja", "zh-hans", "vi"], "default": "ko", "description": "Patient preferred language" },
          "symptom": { "type": "string", "description": "Main concern or symptom" },
          "message": { "type": "string", "description": "Additional message or notes" },
          "agent_id": { "type": "string", "description": "Calling agent identifier for tracking" }
        },
        "required": ["name", "phone"]
      },
      "response_schema": {
        "type": "object",
        "properties": {
          "success": { "type": "boolean" },
          "lead_id": { "type": "string", "format": "uuid" },
          "message": { "type": "string" },
          "next_step": { "type": "string" }
        },
        "required": ["success", "lead_id", "message"]
      }
    },
    {
      "name": "request_telemedicine_consultation",
      "description": "Request a telemedicine consultation. A staff member will follow up within 24 hours.",
      "url": "https://www.baekrokdam.com/api/mcp",
      "method": "POST",
      "content_type": "application/json",
      "input_schema": {
        "type": "object",
        "properties": {
          "contact": { "type": "string", "description": "Phone number or email for follow-up" },
          "symptoms": { "type": "string", "description": "Brief description of symptoms or concerns" },
          "locale": { "type": "string", "enum": ["ko", "en", "ja", "zh-hans", "vi"], "default": "ko", "description": "Preferred language" }
        },
        "required": ["contact"]
      },
      "response_schema": {
        "type": "object",
        "properties": {
          "success": { "type": "boolean" },
          "lead_id": { "type": "string", "format": "uuid" },
          "telemedicine_requested": { "type": "boolean" },
          "message": { "type": "string" },
          "prescription_delivery": { "type": "string" }
        }
      }
    }
  ]
}