1(function () { 2 if (!navigator.modelContext) return; 3 4 var mc = navigator.modelContext; 5 6 mc.registerTool({ 7 name: 'get_platform_info', 8 description: 9 'Get comprehensive information about the Kiework HRMS platform including features, modules, pricing, and AI capabilities', 10 inputSchema: { 11 type: 'object', 12 properties: {}, 13 }, 14 execute: function () { 15 return fetch('/llms.txt') 16 .then(function (r) { 17 return r.text(); 18 }) 19 .then(function (text) { 20 return { content: text }; 21 }); 22 }, 23 }); 24 25 mc.registerTool({ 26 name: 'search_hr_terms', 27 description: 28 'Look up HR terminology, concepts, and acronyms in the Kiework HR dictionary', 29 inputSchema: { 30 type: 'object', 31 properties: { 32 term: { 33 type: 'string', 34 description: 'The HR term to look up (e.g., "onboarding", "kpi", "employee-engagement")', 35 }, 36 }, 37 required: ['term'], 38 }, 39 execute: function (params) { 40 var slug = params.term 41 .toLowerCase() 42 .replace(/[^a-z0-9]+/g, '-') 43 .replace(/^-|-$/g, ''); 44 window.location.href = '/hr-dictionary/' + slug; 45 return { navigatedTo: '/hr-dictionary/' + slug }; 46 }, 47 }); 48 49 mc.registerTool({ 50 name: 'request_demo', 51 description: 52 'Navigate to the Kiework demo request page where users can schedule a personalized platform demonstration', 53 inputSchema: { 54 type: 'object', 55 properties: {}, 56 }, 57 execute: function () { 58 window.location.href = '/request-demo'; 59 return { navigatedTo: '/request-demo' }; 60 }, 61 }); 62 63 mc.registerTool({ 64 name: 'get_sitemap', 65 description: 66 'Retrieve the full sitemap of kiework.ai to discover all available pages and content', 67 inputSchema: { 68 type: 'object', 69 properties: {}, 70 }, 71 execute: function () { 72 return fetch('/sitemap.xml') 73 .then(function (r) { 74 return r.text(); 75 }) 76 .then(function (text) { 77 return { content: text }; 78 }); 79 }, 80 }); 81})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.