{
  "schema_version": "1.0",
  "name": "이레한의원",
  "description": "자가면역치유의 동반자",
  "icon": "https://ireaomd.co.kr/favicon.png",
  "entry_points": [
    {
      "type": "website",
      "url": "https://ireaomd.co.kr"
    },
    {
      "type": "booking",
      "url": "/intake"
    }
  ],
  "knowledge_graph": {
    "entities": [
      {
        "id": "clinic",
        "name": "이레한의원",
        "type": "MedicalClinic"
      },
      {
        "id": "founder",
        "name": "박석민",
        "type": "Person"
      }
    ],
    "topics": [
      "Medical Clinic",
      "Healthcare",
      "쇼그렌증후군",
      "혀 통증 클리닉",
      "자가면역성 갑상선염",
      "전신홍반 루푸스",
      "베체트병",
      "섬유근육통",
      "구강작열감증후군",
      "자가면역질환",
      "루푸스",
      "갑상선질환",
      "항인지질항체증후군",
      "척추질환"
    ]
  },
  "api_endpoints": [
    {
      "path": "/programs",
      "description": "List of medical programs"
    },
    {
      "path": "/doctors",
      "description": "Medical staff profiles"
    }
  ],
  "legal": {
    "terms": "https://ireaomd.co.kr/terms",
    "privacy": "https://ireaomd.co.kr/privacy"
  },
  "tools": [
    {
      "name": "search_blog",
      "description": "Search blog posts by keyword (Korean medicine health content). Returns title, slug, excerpt, category.",
      "endpoint": "/api/blog/search",
      "method": "GET",
      "readOnlyHint": true,
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "q": {
            "type": "string",
            "description": "Search keyword in Korean (e.g., '쇼그렌', '구강작열감', '안구건조'). Must be 1-100 characters; supports Korean and English.",
            "minLength": 1,
            "maxLength": 100
          },
          "category": {
            "type": "string",
            "description": "Optional disease category filter — limits search to one specialty area (e.g., digestive=Sjogren's, tongue=BMS).",
            "enum": [
              "digestive",
              "tongue",
              "thyroid",
              "skin",
              "behcet",
              "fibromyalgia",
              "spine",
              "aps",
              "autoimmune"
            ]
          }
        },
        "required": [
          "q"
        ]
      }
    },
    {
      "name": "list_programs",
      "description": "List all medical treatment programs with descriptions. Read-only catalog of clinic services.",
      "endpoint": "/programs",
      "method": "GET",
      "readOnlyHint": true,
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {},
        "description": "No parameters required — returns the full list of treatment programs."
      }
    },
    {
      "name": "list_topic_hubs",
      "description": "List all autoimmune disease topic hubs (쇼그렌, 베체트, 섬유근육통 등). Each hub aggregates symptoms, FAQs, and related blog posts.",
      "endpoint": "/topics",
      "method": "GET",
      "readOnlyHint": true,
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {},
        "description": "No parameters required — returns all topic hubs."
      }
    },
    {
      "name": "list_doctors",
      "description": "List all doctors (medical staff) profiles — name, specialty, credentials, bio. Read-only catalog.",
      "endpoint": "/doctors",
      "method": "GET",
      "readOnlyHint": true,
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {},
        "description": "No parameters required — returns the full list of active doctors."
      }
    },
    {
      "name": "get_topic_detail",
      "description": "Get detailed information about a specific autoimmune topic, including diagnostic criteria and FAQs.",
      "endpoint": "/topics/{slug}",
      "method": "GET",
      "readOnlyHint": true,
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "slug": {
            "type": "string",
            "description": "Topic slug — one of the supported autoimmune disease categories. Must match exactly (case-sensitive).",
            "enum": [
              "sjogren-syndrome",
              "bms",
              "fibromyalgia",
              "lupus",
              "behcet",
              "autoimmune",
              "aps",
              "thyroid",
              "spine"
            ]
          }
        },
        "required": [
          "slug"
        ]
      }
    },
    {
      "name": "fetch_clinic_info",
      "description": "Fetch clinic basic info — name, address, phone number, business hours, holidays. Read-only safe to call without arguments.",
      "endpoint": "/api/clinic-info",
      "method": "GET",
      "readOnlyHint": true,
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {},
        "description": "No parameters required — returns NAP (name/address/phone) and operating hours."
      }
    }
  ]
}