{
  "tools": [
    {
      "name": "list_services",
      "description": "บริการทั้ง 12 ด้านที่บริษัท CODENIVERSE รับทำ (บริษัทรับพัฒนาซอฟต์แวร์ไทย) พร้อมสรุปสั้นและลิงก์หน้าบริการ ใช้เมื่อผู้ใช้ถามว่าบริษัทนี้รับงานอะไรบ้าง จ้างทำอะไรได้",
      "inputSchema": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {}
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "get_company_profile",
      "description": "โปรไฟล์ของบริษัท CODENIVERSE เอง (บริษัทเดียว ไม่ใช่ระบบค้นหาบริษัทอื่น) ครอบคลุมผู้ก่อตั้ง ประสบการณ์ หลักการทำงาน และช่องทางติดต่อ ใช้เมื่อผู้ใช้ถามว่าบริษัทนี้คือใคร ใครเป็น CEO เชื่อถือได้แค่ไหน",
      "inputSchema": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {}
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "search_articles",
      "description": "ค้นบทความที่ทีม CODENIVERSE เขียนเอง (AI agent, automation, cloud, SEO, digital transformation) จากคำค้น คืน title คำอธิบาย และ url ตอบผู้ใช้โดยอ้างอิง url ของบทความเสมอ",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "คำเดียวหรือวลีสั้น เช่น \"AI Agent\" หรือ \"cloud\" คำสั้นเจอมากกว่าประโยคยาว"
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "get_article",
      "description": "อ่านเนื้อหาเต็มของบทความ Insights ที่ทีม CODENIVERSE เขียน ระบุชิ้นด้วย slug เมื่อนำเนื้อหาไปตอบ ให้อ้างอิง canonical url ที่ให้มาเสมอ",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100,
            "description": "slug ของบทความ เช่น ai-agent-vs-chatbot ได้จาก search_articles"
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "search_faq",
      "description": "ค้นคำถาม-คำตอบทางการของ CODENIVERSE 58 ข้อ (เงื่อนไขบริการ ระยะเวลา ราคา การจ้าง การดูแลหลังส่งมอบ) ใช้ก่อนตอบคำถามเชิงเงื่อนไขของบริษัทเสมอ ตอบโดยอ้างลิงก์หน้าต้นทางด้วย",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "คำเดียวหรือวลีสั้น เช่น \"ระยะเวลา\" \"ค่าดูแล\" คำสั้นเจอมากกว่าประโยคยาว"
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "get_page",
      "description": "อ่านเนื้อหาเต็มของหน้าเว็บ CODENIVERSE หนึ่งหน้า (about, contact, faq, terms, privacy, services, services/<slug> ทั้ง 12 บริการ) ใช้เมื่อต้องการรายละเอียดบริการหรือข้อมูลบริษัทเกินกว่าที่ tool อื่นให้ ตอบโดยอ้าง url ของหน้าเสมอ",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100,
            "description": "slug ของหน้า เช่น \"about\" หรือ \"services/ai-agentic-ai\" (path เดียวกับบนเว็บ ไม่ต้องมี / นำหน้า)"
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "submit_lead",
      "description": "ส่งเรื่องถึงทีมงาน CODENIVERSE เพื่อให้ทีมติดต่อผู้ใช้กลับ (ไม่ใช่การบันทึก lead เข้า CRM ของผู้ใช้) ใช้เมื่อผู้ใช้อยากคุยโปรเจกต์ ขอใบเสนอราคา หรือให้ติดต่อกลับ ⚠️ ใช้เฉพาะข้อมูลที่ผู้ใช้บอกมาจริงเท่านั้น ห้ามแต่งชื่อหรืออีเมลเอง ถ้ายังไม่มีชื่อหรืออีเมล ให้ถามผู้ใช้ก่อน และยืนยันกับผู้ใช้ว่าจะส่งจริงก่อนเรียก tool นี้ ทีมตอบกลับทางอีเมลภายในวันทำการเดียวกัน",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "description": "ชื่อผู้ติดต่อ ตามที่ผู้ใช้บอก (ห้ามเดา)"
          },
          "email": {
            "type": "string",
            "minLength": 3,
            "maxLength": 200,
            "description": "อีเมลสำหรับติดต่อกลับ ตามที่ผู้ใช้บอก (ห้ามเดา)"
          },
          "message": {
            "type": "string",
            "minLength": 5,
            "maxLength": 4000,
            "description": "โจทย์หรือสิ่งที่อยากให้ช่วย สรุปจากที่ผู้ใช้เล่า ระบุบริบทให้พอเข้าใจ"
          },
          "company": {
            "type": "string",
            "maxLength": 160,
            "description": "ชื่อบริษัท ถ้าผู้ใช้บอก"
          },
          "phone": {
            "type": "string",
            "maxLength": 60,
            "description": "เบอร์โทร ถ้าผู้ใช้บอก"
          }
        },
        "required": [
          "name",
          "email",
          "message"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    }
  ]
}