{"apiVersion":"v1","directorySlug":"coka-mcp-23a338400a","title":"Coka","description":"Coka là giải pháp về CRM từ tìm kiếm, chăm sóc và quản lý khách hàng chuyên biệt dành cho ngành bất động sản mở rộng cơ hội bán hàng cho sale thành công","pageUrl":"https://www.mcpbundles.com/skills/coka-mcp-23a338400a","connectPath":"importable","connectAction":"import_server","catalogListing":false,"bundleSlug":null,"listingKind":"remote_mcp","kind":"provider","transportUrl":"https://mcp.coka.ai/mcp","hostedMcpUrl":null,"toolCount":105,"toolInventoryStatus":"observed","refreshedAt":"2026-11-03T13:26:00.516172+00:00","registryName":"ai.coka/coka-mcp-23a338400a","registryVersion":"2026.11.3","registryEligible":true,"tools":[{"name":"coka_save_context","description":"Lưu context phiên làm việc — ghi nhớ organizationId và workspaceId mà người dùng đã chọn. Sau khi gọi coka_get_organizations và người dùng chọn tổ chức, gọi tool này để lưu organizationId. Tương tự với coka_get_workspaces/workspaceId. Context được giữ trong suốt phiên làm việc.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"sessionKey":{"type":"string"},"workspaceId":{"type":"string"},"workspaceName":{"type":"string"},"organizationId":{"type":"string"},"organizationName":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_save_context","displayName":"coka_save_context","title":"coka_save_context","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_load_context","description":"Đọc context phiên làm việc đã lưu — trả về organizationId và workspaceId mà người dùng đã chọn trước đó. Gọi tool này khi bạn KHÔNG CHẮC người dùng đang ở tổ chức/workspace nào, thay vì hỏi lại. Nếu context trống, hãy hỏi người dùng chọn tổ chức/workspace.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"sessionKey":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_load_context","displayName":"coka_load_context","title":"coka_load_context","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_get_token_instructions","description":"Nếu người dùng hoặc LLM phát hiện chưa có CokaToken, hãy gọi tool này để hiển thị hướng dẫn cấu hình token cho người dùng.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{}},"logicalName":"coka_get_token_instructions","displayName":"coka_get_token_instructions","title":"coka_get_token_instructions","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_get_profile","description":"Lấy thông tin cá nhân (fullName, phone, email, avatar, dob, gender) và quyền truy cập của tài khoản trên tổ chức này. Yêu cầu accessToken hợp lệ.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_get_profile","displayName":"coka_get_profile","title":"coka_get_profile","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_get_organizations","description":"Lấy danh sách tổ chức. QUAN TRỌNG: Khi người dùng chọn tổ chức, gọi coka_save_context để ghi nhớ organizationId. Mọi thao tác sau ưu tiên dùng ID đã nhớ, KHÔNG hỏi lại.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"limit":{"type":"number","default":1000},"accessToken":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_get_organizations","displayName":"coka_get_organizations","title":"coka_get_organizations","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_get_tags","description":"Lấy danh sách nhãn (tags) của tổ chức để phân loại Lead (ví dụ: mua bán, chuyển nhượng).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"limit":{"type":"number","default":1000},"category":{"type":"string","default":"LEAD"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_get_tags","displayName":"coka_get_tags","title":"coka_get_tags","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_get_lead_detail","description":"Lấy toàn bộ thông tin của một Lead: chi tiết (conversations, gender (0: Nam, 1: Nữ, 2: không xác định), maritalStatus...), lịch sử chăm sóc (journey), và hoạt động (schedules). Gọi 3 API song song.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["leadId"],"properties":{"leadId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_get_lead_detail","displayName":"coka_get_lead_detail","title":"coka_get_lead_detail","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_get_lead_journey","description":"Lấy lịch sử chăm sóc (journey) của một Lead. Trả về các sự kiện như LINK_CONVERSATION cùng jsonSummary.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["leadId"],"properties":{"leadId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_get_lead_journey","displayName":"coka_get_lead_journey","title":"coka_get_lead_journey","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_assign_lead","description":"Gán người phụ trách cho một Lead. Tool này sẽ TỰ ĐỘNG load danh sách thành viên tổ chức trước để kiểm tra profileId hợp lệ.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["leadId"],"properties":{"leadId":{"type":"string"},"teamId":{"type":"string"},"profileId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_assign_lead","displayName":"coka_assign_lead","title":"coka_assign_lead","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_set_lead_followers","description":"Đổi/gán người theo dõi cho một Lead. Tool này sẽ TỰ ĐỘNG load danh sách thành viên tổ chức trước để kiểm tra profileIds hợp lệ.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["leadId"],"properties":{"leadId":{"type":"string"},"teamIds":{"type":"array","items":{"type":"string"},"default":[]},"profileIds":{"type":"array","items":{"type":"string"},"default":[]},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_set_lead_followers","displayName":"coka_set_lead_followers","title":"coka_set_lead_followers","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_add_lead_tags","description":"Gán nhãn (tags) cho một Lead. Mặc định sẽ GIỮ LẠI nhãn cũ và THÊM nhãn mới (mode=add). Nếu người dùng muốn thay thế toàn bộ hoặc bỏ hết nhãn cũ, dùng mode=replace.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["leadId","tags"],"properties":{"mode":{"enum":["add","replace"],"type":"string","default":"add"},"tags":{"type":"array","items":{"type":"string"}},"leadId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_add_lead_tags","displayName":"coka_add_lead_tags","title":"coka_add_lead_tags","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_update_lead_field","description":"Cập nhật một trường dữ liệu của Lead (ví dụ: gender, phone, email...). Cần truyền fieldName và value. (Lưu ý với gender: 0 là Nam, 1 là Nữ, 2 là không xác định)","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["leadId","fieldName","value"],"properties":{"value":{"type":"string"},"leadId":{"type":"string"},"fieldName":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_update_lead_field","displayName":"coka_update_lead_field","title":"coka_update_lead_field","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_create_lead_note","description":"Thêm ghi chú chăm sóc mới vào lịch sử của một Lead. Dùng domain api.app2.coka.ai.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["leadId","note"],"properties":{"note":{"type":"string"},"leadId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_create_lead_note","displayName":"coka_create_lead_note","title":"coka_create_lead_note","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_update_lead_note","description":"Sửa nội dung ghi chú chăm sóc của một Lead. Dùng domain api.app2.coka.ai.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["leadId","noteId","note"],"properties":{"note":{"type":"string"},"leadId":{"type":"string"},"noteId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_update_lead_note","displayName":"coka_update_lead_note","title":"coka_update_lead_note","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_delete_lead_note","description":"Xóa ghi chú chăm sóc của một Lead. Dùng domain api.app2.coka.ai.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["leadId","noteId"],"properties":{"leadId":{"type":"string"},"noteId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_delete_lead_note","displayName":"coka_delete_lead_note","title":"coka_delete_lead_note","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_get_workspaces","description":"Lấy danh sách Workspace của tổ chức. Dùng khi cần chọn workspace cho Deal. Gọi coka_load_context trước để lấy organizationId đã lưu. QUAN TRỌNG: Khi người dùng chọn workspace, gọi coka_save_context để ghi nhớ workspaceId cho toàn bộ phiên.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"limit":{"type":"number","default":1000},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_get_workspaces","displayName":"coka_get_workspaces","title":"coka_get_workspaces","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_create_workspace","description":"Tạo Workspace mới. Gọi coka_load_context trước để lấy organizationId đã lưu. TRƯỚC KHI GỌI TOOL NÀY, bạn PHẢI thực hiện theo quy trình:","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["name"],"properties":{"name":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_create_workspace","displayName":"coka_create_workspace","title":"coka_create_workspace","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_create_workspace_with_stages","description":"Tạo Workspace mới và tự động khởi tạo pipeline giai đoạn (Stages). Gọi coka_load_context trước để lấy organizationId đã lưu.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["name"],"properties":{"name":{"type":"string"},"accessToken":{"type":"string"},"customStages":{"type":"array","items":{"type":"string"}},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_create_workspace_with_stages","displayName":"coka_create_workspace_with_stages","title":"coka_create_workspace_with_stages","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_get_customers","description":"Tìm kiếm khách hàng (cá nhân hoặc doanh nghiệp) theo tên.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"limit":{"type":"number","default":20},"offset":{"type":"number","default":0},"isBusiness":{"type":"boolean","default":false},"searchText":{"type":"string","default":""},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_get_customers","displayName":"coka_get_customers","title":"coka_get_customers","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_create_customer","description":"Tạo khách hàng mới (cá nhân hoặc doanh nghiệp). Trả về customerId dùng để gắn vào Deal.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["fullName"],"properties":{"tags":{"type":"array","items":{"type":"string"},"default":[]},"email":{"type":"string","default":""},"phone":{"type":"string","default":""},"fullName":{"type":"string"},"isBusiness":{"type":"boolean","default":false},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_create_customer","displayName":"coka_create_customer","title":"coka_create_customer","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_get_business_stages","description":"Lấy danh sách giai đoạn (Stages) của quy trình theo Workspace. Dùng để lấy stageId khi chuyển Lead sang Deal.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["workspaceId"],"properties":{"accessToken":{"type":"string"},"workspaceId":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_get_business_stages","displayName":"coka_get_business_stages","title":"coka_get_business_stages","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_get_products","description":"Lấy danh sách sản phẩm. Host: api.products.coka.ai.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"isManage":{"type":"boolean","default":false},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_get_products","displayName":"coka_get_products","title":"coka_get_products","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_get_sources","description":"Lấy danh sách nguồn Lead (UTM Source) của tổ chức. Dùng để lấy sourceId khi tạo Lead mới (coka_create_lead).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_get_sources","displayName":"coka_get_sources","title":"coka_get_sources","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_get_deal_detail","description":"Lấy toàn bộ thông tin chi tiết của một thẻ Deal (BusinessProcessTask). Dữ liệu trả về bao gồm mảng `stageHistory` hỗ trợ theo dõi lịch sử di chuyển qua các giai đoạn.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["taskId"],"properties":{"taskId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_get_deal_detail","displayName":"coka_get_deal_detail","title":"coka_get_deal_detail","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_move_deal","description":"Chuyển một Deal sang Giai đoạn mới (Tương đương thao tác kéo thả dời cột).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["taskId","newStageId"],"properties":{"taskId":{"type":"string"},"newStageId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_move_deal","displayName":"coka_move_deal","title":"coka_move_deal","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_duplicate_deal","description":"Nhân bản một Deal thành một thẻ mới. Tự động gắn hậu tố '(Bản sao)' vào tên.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["taskId"],"properties":{"taskId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_duplicate_deal","displayName":"coka_duplicate_deal","title":"coka_duplicate_deal","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_rename_deal","description":"Đổi tên (tiêu đề) của một Deal.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["taskId","name"],"properties":{"name":{"type":"string"},"taskId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_rename_deal","displayName":"coka_rename_deal","title":"coka_rename_deal","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_delete_deal","description":"Xóa một Deal. CẢNH BÁO QUAN TRỌNG: TRƯỚC KHI GỌI TOOL NÀY, BẠN PHẢI HỎI NGƯỜI DÙNG XÁC NHẬN CHẮC CHẮN MUỐN XÓA THẺ DEAL NÀY HAY KHÔNG (Yêu cầu bắt buộc).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["taskId"],"properties":{"taskId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_delete_deal","displayName":"coka_delete_deal","title":"coka_delete_deal","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_update_deal_status","description":"Đổi trạng thái Deal (đánh dấu Thành công hoặc Thất bại). Tương đương nút \"Thành công\" / \"Thất bại\" trên giao diện web.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["taskId","isSuccess"],"properties":{"note":{"type":"string","default":""},"taskId":{"type":"string"},"isSuccess":{"type":"boolean"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_update_deal_status","displayName":"coka_update_deal_status","title":"coka_update_deal_status","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_create_deal_note","description":"Thêm ghi chú chăm sóc vào lịch sử (journey) của một Deal. Tương tự coka_create_lead_note nhưng dành cho Deal.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["taskId","content"],"properties":{"taskId":{"type":"string"},"content":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_create_deal_note","displayName":"coka_create_deal_note","title":"coka_create_deal_note","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_get_deal_tags","description":"Lấy danh sách nhãn (tags) cho Deal theo Workspace. Khác với coka_get_tags (nhãn cho Lead), tool này lấy nhãn quy trình dùng để gắn vào Deal.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["workspaceId"],"properties":{"accessToken":{"type":"string"},"workspaceId":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_get_deal_tags","displayName":"coka_get_deal_tags","title":"coka_get_deal_tags","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_set_deal_tags","description":"Gán nhãn (tags) cho Deal. Thao tác này sẽ THAY THẾ toàn bộ nhãn hiện tại của Deal bằng danh sách nhãn mới.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["taskId","tagIds"],"properties":{"tagIds":{"type":"array","items":{"type":"string"}},"taskId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_set_deal_tags","displayName":"coka_set_deal_tags","title":"coka_set_deal_tags","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_set_deal_followers","description":"Đổi người theo dõi hoặc phụ trách Deal. Có thể chọn nhiều người.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["taskId","userIds"],"properties":{"taskId":{"type":"string"},"teamIds":{"type":"array","items":{"type":"string"},"default":[]},"userIds":{"type":"array","items":{"type":"string"}},"accessToken":{"type":"string"},"assigneeType":{"type":"string","default":"FOLLOWER"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_set_deal_followers","displayName":"coka_set_deal_followers","title":"coka_set_deal_followers","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_update_lead_flow_step","description":"Đánh dấu hoàn thành bước chăm sóc hiện tại của Lead trong luồng (Flow).\nThường gọi SAU KHI đã chuyển Lead thành Deal thành công.\nAI nên hỏi người dùng: \"Deal đã được tạo. Bạn có muốn đánh dấu hoàn tất bước chăm sóc hiện tại của Lead này không?\"","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["leadId"],"properties":{"leadId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_update_lead_flow_step","displayName":"coka_update_lead_flow_step","title":"coka_update_lead_flow_step","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_link_order_to_deal","description":"Liên kết đơn hàng với Deal. Gọi SAU KHI tạo Order thành công.\nDùng taskId (ID Deal từ coka_convert_lead_to_deal) và orderId (ID đơn hàng từ coka_create_order).\nSau khi liên kết, AI nên hỏi: \"Bạn có muốn đánh dấu hoàn tất bước chăm sóc Lead này không?\" → gọi coka_update_lead_flow_step.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["taskId","orderId"],"properties":{"taskId":{"type":"string"},"orderId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_link_order_to_deal","displayName":"coka_link_order_to_deal","title":"coka_link_order_to_deal","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_list_all_tools","description":"Liệt kê toàn bộ Tools có sẵn trên Coka AI MCP Server: tổng số tool, mô tả chức năng từng tool, phân nhóm theo danh mục. Dùng khi người dùng muốn biết server hỗ trợ những gì.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{}},"logicalName":"coka_list_all_tools","displayName":"coka_list_all_tools","title":"coka_list_all_tools","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_get_analytics_summary","description":"Lấy các chỉ số phân tích tổng quan báo cáo Deal & Doanh thu của tổ chức (Summary Cards).\nBao gồm: tổng số Deal, tổng giá trị hợp đồng, doanh thu dự kiến, số Deal thắng/thua, tỷ lệ chuyển đổi.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"toDate":{"type":"string"},"fromDate":{"type":"string"},"accessToken":{"type":"string"},"workspaceIds":{"type":"array","items":{"type":"string"}},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_get_analytics_summary","displayName":"coka_get_analytics_summary","title":"coka_get_analytics_summary","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_get_analytics_breakdown","description":"Lấy báo cáo phân tích chi tiết biến động Deal và doanh thu theo chu kỳ thời gian (Breakdown Summary).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"toDate":{"type":"string"},"fromDate":{"type":"string"},"accessToken":{"type":"string"},"workspaceIds":{"type":"array","items":{"type":"string"}},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_get_analytics_breakdown","displayName":"coka_get_analytics_breakdown","title":"coka_get_analytics_breakdown","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_get_analytics_sources","description":"Phân tích nguồn gốc Lead và đo lường hiệu quả các kênh Marketing (Facebook, Google Ads, Zalo, UTM Source).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"isUtm":{"type":"boolean"},"toDate":{"type":"string"},"fromDate":{"type":"string"},"accessToken":{"type":"string"},"workspaceIds":{"type":"array","items":{"type":"string"}},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_get_analytics_sources","displayName":"coka_get_analytics_sources","title":"coka_get_analytics_sources","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_get_analytics_funnel","description":"Phân tích phễu chuyển đổi (Conversion Funnel Analysis) của các Deal theo từng Giai đoạn (Stage) trong Workspace.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"toDate":{"type":"string"},"fromDate":{"type":"string"},"accessToken":{"type":"string"},"workspaceIds":{"type":"array","items":{"type":"string"}},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_get_analytics_funnel","displayName":"coka_get_analytics_funnel","title":"coka_get_analytics_funnel","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_get_top_sellers","description":"Phân tích & xếp hạng hiệu suất chốt deal, doanh số của các Chuyên viên tư vấn (Top Sellers) trong tổ chức.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"toDate":{"type":"string"},"fromDate":{"type":"string"},"accessToken":{"type":"string"},"workspaceIds":{"type":"array","items":{"type":"string"}},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_get_top_sellers","displayName":"coka_get_top_sellers","title":"coka_get_top_sellers","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_news_get_feed","description":"Lấy danh sách Feed bài viết & sự kiện nội bộ tổ chức (có phân trang, tìm kiếm theo từ khóa, lọc danh mục và hashtag).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"page":{"type":"number","default":1},"tagIds":{"type":"array","items":{"type":"string"}},"keyword":{"type":"string"},"pageSize":{"type":"number","default":10},"accessToken":{"type":"string"},"categoryIds":{"type":"array","items":{"type":"string"}},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_news_get_feed","displayName":"coka_news_get_feed","title":"coka_news_get_feed","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_news_get_post","description":"Lấy toàn bộ thông tin chi tiết của một bài viết / sự kiện theo ID.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["postId"],"properties":{"postId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_news_get_post","displayName":"coka_news_get_post","title":"coka_news_get_post","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_news_delete_post","description":"Xóa một bài viết khỏi hệ thống theo ID.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["postId"],"properties":{"postId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_news_delete_post","displayName":"coka_news_delete_post","title":"coka_news_delete_post","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_news_pin_post","description":"Ghim hoặc bỏ ghim bài viết lên đầu Feed tin tức.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["postId"],"properties":{"postId":{"type":"string"},"priority":{"type":"number","default":1},"expiredAt":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_news_pin_post","displayName":"coka_news_pin_post","title":"coka_news_pin_post","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_news_rsvp_event","description":"Đăng ký / Xác nhận trạng thái tham gia một sự kiện (RSVP).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["postId","status"],"properties":{"postId":{"type":"string"},"status":{"type":"number"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_news_rsvp_event","displayName":"coka_news_rsvp_event","title":"coka_news_rsvp_event","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_news_add_comment","description":"Thêm bình luận mới hoặc trả lời bình luận trên một bài viết.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["postId","content"],"properties":{"postId":{"type":"string"},"content":{"type":"string"},"parentId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_news_add_comment","displayName":"coka_news_add_comment","title":"coka_news_add_comment","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_news_toggle_reaction","description":"Bày tỏ cảm xúc (Reaction - Thích, Tim, Haha...) cho bài viết.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["postId"],"properties":{"type":{"type":"number","default":0},"postId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_news_toggle_reaction","displayName":"coka_news_toggle_reaction","title":"coka_news_toggle_reaction","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_news_get_categories","description":"Lấy danh sách các danh mục phân loại bài viết của tổ chức.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_news_get_categories","displayName":"coka_news_get_categories","title":"coka_news_get_categories","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_news_get_tags","description":"Lấy danh sách các thẻ hashtag bài viết của tổ chức.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_news_get_tags","displayName":"coka_news_get_tags","title":"coka_news_get_tags","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"task_submit","description":"Gửi task/yêu cầu mới kèm nội dung markdown đến máy khác qua Task Gateway. \n        Máy hiện tại: machine-unknown. Dùng để trao đổi việc giữa FE và BE.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["title","content"],"properties":{"tags":{"type":"string"},"content":{"type":"string"},"assignee":{"type":"string"},"priority":{"enum":["low","normal","high","urgent"],"type":"string","default":"normal"}},"additionalProperties":false},"logicalName":"task_submit","displayName":"task_submit","title":"task_submit","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"task_list","description":"Xem danh sách tasks trên Task Gateway. Có thể filter theo trạng thái, assignee, hoặc máy gửi.\n        Máy hiện tại: machine-unknown.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"mine":{"type":"boolean","default":false},"status":{"enum":["pending","in_progress","review","done","closed"],"type":"string"},"assignee":{"type":"string"},"from_machine":{"type":"string"}},"additionalProperties":false},"logicalName":"task_list","displayName":"task_list","title":"task_list","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"task_read","description":"Đọc chi tiết một task kèm toàn bộ nội dung markdown và lịch sử replies.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["task_id"],"properties":{"task_id":{"type":"string"}},"additionalProperties":false},"logicalName":"task_read","displayName":"task_read","title":"task_read","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"task_update_status","description":"Cập nhật trạng thái của task. \n        Luồng trạng thái: pending → in_progress → review → done → closed.\n        Máy hiện tại: machine-unknown.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["task_id","status"],"properties":{"status":{"enum":["pending","in_progress","review","done","closed"],"type":"string"},"task_id":{"type":"string"}},"additionalProperties":false},"logicalName":"task_update_status","displayName":"task_update_status","title":"task_update_status","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"task_reply","description":"Reply vào một task bằng markdown hoặc text. \n        Dùng để trao đổi, cập nhật tiến độ hoặc trả kết quả.\n        Máy hiện tại: machine-unknown.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["task_id","content"],"properties":{"type":{"enum":["text","markdown"],"type":"string","default":"markdown"},"content":{"type":"string"},"task_id":{"type":"string"}},"additionalProperties":false},"logicalName":"task_reply","displayName":"task_reply","title":"task_reply","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"task_close","description":"Đóng task sau khi đã verify và nghiệm thu xong.\n        Máy hiện tại: machine-unknown.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["task_id"],"properties":{"task_id":{"type":"string"}},"additionalProperties":false},"logicalName":"task_close","displayName":"task_close","title":"task_close","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"task_gateway_status","description":"Kiểm tra trạng thái kết nối đến Task Gateway Server và xem số clients đang kết nối.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{}},"logicalName":"task_gateway_status","displayName":"task_gateway_status","title":"task_gateway_status","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_product_get_list","description":"Lấy danh sách sản phẩm trong tổ chức (hỗ trợ phân trang, tìm kiếm theo từ khóa/mã, lọc theo danh mục hoặc trạng thái).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"page":{"type":"number","default":1},"search":{"type":"string"},"sortBy":{"type":"string"},"status":{"type":"string"},"pageSize":{"type":"number","default":10},"ascending":{"type":"boolean","default":false},"categoryId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_product_get_list","displayName":"coka_product_get_list","title":"coka_product_get_list","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_product_get_detail","description":"Lấy toàn bộ thông tin chi tiết của một sản phẩm theo ID.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["productId"],"properties":{"productId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_product_get_detail","displayName":"coka_product_get_detail","title":"coka_product_get_detail","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_product_create","description":"Tạo một sản phẩm mới trong hệ thống.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["name"],"properties":{"code":{"type":"string"},"name":{"type":"string"},"price":{"type":"number"},"status":{"type":"string"},"categoryId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_product_create","displayName":"coka_product_create","title":"coka_product_create","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_product_create_bulk","description":"Tạo hàng loạt nhiều sản phẩm cùng một lúc (Bulk Create).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["products"],"properties":{"products":{"type":"array","items":{"type":"object","required":["name"],"properties":{"code":{"type":"string"},"name":{"type":"string"},"price":{"type":"number"},"categoryId":{"type":"string"}},"additionalProperties":false}},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_product_create_bulk","displayName":"coka_product_create_bulk","title":"coka_product_create_bulk","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_product_update","description":"Cập nhật thông tin chi tiết sản phẩm.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["productId"],"properties":{"code":{"type":"string"},"name":{"type":"string"},"price":{"type":"number"},"productId":{"type":"string"},"categoryId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_product_update","displayName":"coka_product_update","title":"coka_product_update","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_product_delete","description":"Xóa một sản phẩm khỏi hệ thống theo ID.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["productId"],"properties":{"productId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_product_delete","displayName":"coka_product_delete","title":"coka_product_delete","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_product_get_statuses","description":"Lấy danh sách các Trạng thái sản phẩm tùy chỉnh (Custom Statuses: tên, mã màu HEX, thứ tự).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_product_get_statuses","displayName":"coka_product_get_statuses","title":"coka_product_get_statuses","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_product_create_status","description":"Tạo mới một Trạng thái sản phẩm tùy chỉnh (tên, mã màu HEX như #22C55E, thứ tự sắp xếp).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["name","colorCode"],"properties":{"name":{"type":"string"},"colorCode":{"type":"string"},"sortOrder":{"type":"number","default":1},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_product_create_status","displayName":"coka_product_create_status","title":"coka_product_create_status","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_product_assign_status","description":"Gắn (hoặc gỡ nếu truyền productStatusId=null) trạng thái tùy chỉnh cho sản phẩm.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["productId","productStatusId"],"properties":{"productId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"},"productStatusId":{"type":["string","null"]}},"additionalProperties":false},"logicalName":"coka_product_assign_status","displayName":"coka_product_assign_status","title":"coka_product_assign_status","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_product_get_categories","description":"Lấy danh sách các danh mục sản phẩm của tổ chức.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_product_get_categories","displayName":"coka_product_get_categories","title":"coka_product_get_categories","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_product_create_category","description":"Tạo một danh mục sản phẩm mới.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["name"],"properties":{"name":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_product_create_category","displayName":"coka_product_create_category","title":"coka_product_create_category","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_product_get_files","description":"Lấy danh sách các tệp tài liệu đính kèm của một sản phẩm.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["productId"],"properties":{"productId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_product_get_files","displayName":"coka_product_get_files","title":"coka_product_get_files","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_product_delete_file","description":"Xóa tệp tài liệu đính kèm của sản phẩm theo ID tệp.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["fileId"],"properties":{"fileId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_product_delete_file","displayName":"coka_product_delete_file","title":"coka_product_delete_file","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_mailbox_get_accounts","description":"Lấy danh sách tài khoản email (IMAP/POP3/SMTP) đã kết nối trong tổ chức. \nBẮT BUỘC gọi tool này trước khi thực hiện bất kỳ thao tác nào với email để lấy accountId hợp lệ.\nKết quả trả về: id, emailAddress, displayName, accountType, isActive, unreadCount.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_mailbox_get_accounts","displayName":"coka_mailbox_get_accounts","title":"coka_mailbox_get_accounts","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_mailbox_get_account_summaries","description":"Lấy tóm tắt tài khoản email kèm số lượng chưa đọc (unreadCount) của từng tài khoản.\nDùng để hiển thị tổng quan hộp thư: tài khoản nào có email mới, bao nhiêu email chưa đọc.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_mailbox_get_account_summaries","displayName":"coka_mailbox_get_account_summaries","title":"coka_mailbox_get_account_summaries","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_mailbox_get_account_folders","description":"Lấy danh sách thư mục (folder) của một tài khoản email cụ thể.\nKết quả: INBOX, Sent, Drafts, Spam, Trash và các folder tùy chỉnh.\nDùng folderName trả về để lọc email trong tool coka_mailbox_get_emails.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["accountId"],"properties":{"accountId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_mailbox_get_account_folders","displayName":"coka_mailbox_get_account_folders","title":"coka_mailbox_get_account_folders","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_mailbox_sync_account","description":"Đồng bộ email từ server mail (IMAP/POP3) về hệ thống Coka cho tài khoản chỉ định.\nGọi tool này khi người dùng muốn \"tải email mới\", \"refresh hộp thư\", hoặc \"kiểm tra email mới\".\nSau khi sync, gọi coka_mailbox_get_emails để xem email mới nhất.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["accountId"],"properties":{"accountId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_mailbox_sync_account","displayName":"coka_mailbox_sync_account","title":"coka_mailbox_sync_account","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_mailbox_get_email_detail","description":"Xem nội dung đầy đủ của một email: tiêu đề, người gửi/nhận, nội dung (HTML/text), file đính kèm.\nGọi tool này sau khi người dùng chọn email từ danh sách (coka_mailbox_get_emails).\nEmail sẽ được tự động đánh dấu đã đọc sau khi xem.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["emailId"],"properties":{"emailId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_mailbox_get_email_detail","displayName":"coka_mailbox_get_email_detail","title":"coka_mailbox_get_email_detail","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_mailbox_mark_email_read","description":"Đánh dấu một email là đã đọc hoặc chưa đọc.\nDùng khi người dùng muốn: \"đánh dấu chưa đọc\", \"mark as unread\", \"mark as read\".\nisRead: true = đã đọc, false = chưa đọc.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["emailId"],"properties":{"isRead":{"type":"boolean","default":true},"emailId":{"type":"string"},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_mailbox_mark_email_read","displayName":"coka_mailbox_mark_email_read","title":"coka_mailbox_mark_email_read","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_mailbox_delete_emails","description":"Xóa một hoặc nhiều email cùng lúc (bulk delete).\nCẢNH BÁO: Thao tác này không thể hoàn tác. Luôn xác nhận với người dùng trước khi xóa.\nTruyền mảng emailIds cần xóa.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["emailIds"],"properties":{"emailIds":{"type":"array","items":{"type":"string"},"minItems":1},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_mailbox_delete_emails","displayName":"coka_mailbox_delete_emails","title":"coka_mailbox_delete_emails","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_mailbox_reply_email","description":"Trả lời một email đã nhận. Hỗ trợ Reply (chỉ người gửi) hoặc Reply All (tất cả).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["emailId","outgoingAccountId"],"properties":{"emailId":{"type":"string"},"bodyHtml":{"type":"string"},"bodyText":{"type":"string"},"replyAll":{"type":"boolean","default":false},"accessToken":{"type":"string"},"organizationId":{"type":"string"},"outgoingAccountId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_mailbox_reply_email","displayName":"coka_mailbox_reply_email","title":"coka_mailbox_reply_email","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_mailbox_forward_email","description":"Chuyển tiếp (forward) một email cho người khác kèm theo nội dung gốc.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["emailId","outgoingAccountId","toAddresses"],"properties":{"emailId":{"type":"string"},"accessToken":{"type":"string"},"ccAddresses":{"type":"array","items":{"type":"string","format":"email"}},"toAddresses":{"type":"array","items":{"type":"string","format":"email"},"minItems":1},"organizationId":{"type":"string"},"additionalMessage":{"type":"string"},"outgoingAccountId":{"type":"string"},"includeAttachments":{"type":"boolean","default":true}},"additionalProperties":false},"logicalName":"coka_mailbox_forward_email","displayName":"coka_mailbox_forward_email","title":"coka_mailbox_forward_email","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_mailbox_delete_draft","description":"Xóa một bản nháp email đã lưu.\nCẢNH BÁO: Không thể hoàn tác. Xác nhận với người dùng trước khi xóa.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["emailAccountId","draftId"],"properties":{"draftId":{"type":"string"},"accessToken":{"type":"string"},"emailAccountId":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_mailbox_delete_draft","displayName":"coka_mailbox_delete_draft","title":"coka_mailbox_delete_draft","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_mailbox_get_tags","description":"Lấy danh sách nhãn (tag) của tài khoản email kèm thống kê số lượng email.\nKết quả: id, name, color, emailCount, unreadCount.\nDùng tagId để lọc email theo nhãn trong coka_mailbox_get_emails.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["emailAccountId"],"properties":{"accessToken":{"type":"string"},"emailAccountId":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_mailbox_get_tags","displayName":"coka_mailbox_get_tags","title":"coka_mailbox_get_tags","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_mailbox_create_tag","description":"Tạo nhãn (tag) mới để phân loại email trong hộp thư.\nMỗi nhãn cần có tên (name) và màu sắc (color). Color nên là mã HEX như #FF5733.\nVí dụ nhãn: \"Khách hàng VIP\", \"Cần xử lý gấp\", \"Đã phản hồi\".","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["emailAccountId","name","color"],"properties":{"name":{"type":"string","minLength":1},"color":{"type":"string"},"accessToken":{"type":"string"},"emailAccountId":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_mailbox_create_tag","displayName":"coka_mailbox_create_tag","title":"coka_mailbox_create_tag","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_mailbox_update_tag","description":"Cập nhật tên hoặc màu sắc của nhãn email đã có.\nChỉ truyền các trường cần thay đổi.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["emailAccountId","tagId"],"properties":{"name":{"type":"string"},"color":{"type":"string"},"tagId":{"type":"string"},"accessToken":{"type":"string"},"emailAccountId":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_mailbox_update_tag","displayName":"coka_mailbox_update_tag","title":"coka_mailbox_update_tag","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_mailbox_delete_tag","description":"Xóa nhãn email khỏi tài khoản.\nCẢNH BÁO: Xóa nhãn sẽ gỡ nhãn đó khỏi tất cả email đã gắn. Xác nhận trước khi xóa.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["emailAccountId","tagId"],"properties":{"tagId":{"type":"string"},"accessToken":{"type":"string"},"emailAccountId":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_mailbox_delete_tag","displayName":"coka_mailbox_delete_tag","title":"coka_mailbox_delete_tag","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_mailbox_assign_tags","description":"Gắn nhãn (tag) vào email để phân loại và tìm kiếm dễ dàng hơn.\nCó thể gắn nhiều nhãn cùng lúc. Truyền mảng rỗng [] để gỡ tất cả nhãn.\nGọi coka_mailbox_get_tags trước để lấy danh sách tagIds hợp lệ.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["emailAccountId","emailId","tagIds"],"properties":{"tagIds":{"type":"array","items":{"type":"string"}},"emailId":{"type":"string"},"accessToken":{"type":"string"},"emailAccountId":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_mailbox_assign_tags","displayName":"coka_mailbox_assign_tags","title":"coka_mailbox_assign_tags","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"coka_mailbox_search_addresses","description":"Tìm kiếm địa chỉ email của khách hàng hoặc lead đã có trong hệ thống Coka.\nDùng khi soạn email và cần tìm địa chỉ người nhận từ database khách hàng.\nTruyền từ khóa tìm kiếm (tên hoặc email một phần).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["searchText"],"properties":{"searchText":{"type":"string","minLength":1},"accessToken":{"type":"string"},"organizationId":{"type":"string"}},"additionalProperties":false},"logicalName":"coka_mailbox_search_addresses","displayName":"coka_mailbox_search_addresses","title":"coka_mailbox_search_addresses","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"check_version","description":"Kiểm tra phiên bản hiện tại của Coka AI MCP Server.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{}},"logicalName":"check_version","displayName":"check_version","title":"check_version","annotations":{"untrustedContentHint":true,"readOnlyHint":true}}],"toolSource":"directory_preview","agentAction":"both","installLinks":[{"id":"cursor","label":"Cursor","href":"cursor://anysphere.cursor-deeplink/mcp/install?name=Coka&config=eyJ1cmwiOiAiaHR0cHM6Ly9tY3AuY29rYS5haS9tY3AifQ%3D%3D"},{"id":"vscode","label":"VS Code","href":"vscode:mcp/install?%7B%22name%22%3A%22Coka%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.coka.ai%2Fmcp%22%7D"},{"id":"vscode-insiders","label":"VS Code Insiders","href":"vscode-insiders:mcp/install?%7B%22name%22%3A%22Coka%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.coka.ai%2Fmcp%22%7D"},{"id":"claude-web","label":"Claude.ai","href":"https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Coka&connectorUrl=https%3A%2F%2Fmcp.coka.ai%2Fmcp"},{"id":"codex","label":"Codex","copyText":"codex mcp add \"Coka\" --url \"https://mcp.coka.ai/mcp\""},{"id":"chatgpt","label":"ChatGPT","href":"https://www.mcpbundles.com/docs/integrations/chatgpt"}],"catalogUrl":"https://www.mcpbundles.com/api/directory/v1/servers/coka-mcp-23a338400a","callUrl":"https://www.mcpbundles.com/api/directory/v1/servers/coka-mcp-23a338400a/tools/{tool}","mcpServerUrl":"https://mcp.coka.ai/mcp","liveCatalogUrl":"https://www.mcpbundles.com/api/directory/v1/servers/coka-mcp-23a338400a?live=1"}