{
  "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",
        "properties": {
          "q": {
            "type": "string",
            "description": "Search keyword in Korean (e.g., '쇼그렌', '구강작열감', '안구건조')",
            "minLength": 1
          },
          "category": {
            "type": "string",
            "description": "Optional category filter",
            "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",
        "properties": {}
      }
    },
    {
      "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",
        "properties": {}
      }
    },
    {
      "name": "list_doctors",
      "description": "List medical staff profiles (specialty, credentials, bio).",
      "endpoint": "/doctors",
      "method": "GET",
      "readOnlyHint": true,
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    },
    {
      "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",
        "properties": {
          "slug": {
            "type": "string",
            "description": "Topic slug",
            "enum": [
              "sjogren-syndrome",
              "bms",
              "fibromyalgia",
              "lupus",
              "behcet",
              "autoimmune",
              "aps",
              "thyroid",
              "spine"
            ]
          }
        },
        "required": [
          "slug"
        ]
      }
    },
    {
      "name": "fetch_clinic_info",
      "description": "Get clinic basic info (name, address, phone, business hours). Read-only.",
      "endpoint": "/api/clinic-info",
      "method": "GET",
      "readOnlyHint": true,
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    }
  ]
}