thealeph_health_check
Monitor the operational status and health of The Aleph API to ensure network intelligence capabilities are functioning properly.
Instructions
Check the health and operational status of The Aleph API
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools.js:262-278 (handler)The primary handler function for the 'thealeph_health_check' tool. Performs the health check via the API client, formats the response with status emoji, details, and handles errors.async healthCheck(params) { try { const result = await this.client.healthCheck(); const statusEmoji = result.status === 'healthy' || result.status === 'ok' ? '✅' : '❌'; return `🏥 The Aleph Health Check ${statusEmoji} **Status:** ${result.status || 'unknown'} **Message:** ${result.message || 'System operational'} The Aleph API is ${result.status === 'healthy' || result.status === 'ok' ? 'operational and ready' : 'experiencing issues'}.`; } catch (error) { return `❌ Health check failed: ${error.message}`; } }
- src/tools.js:18-26 (registration)Tool definition registration in getToolDefinitions(), including name, description, and input schema (no required parameters).{ name: 'thealeph_health_check', description: 'Check the health and operational status of The Aleph API', inputSchema: { type: 'object', properties: {}, required: [] } },
- src/tools.js:228-229 (registration)Switch case in executeTool() that maps the tool name to the healthCheck handler function.case 'thealeph_health_check': return this.healthCheck(params);
- src/client.js:72-74 (helper)Underlying API client helper that makes the HTTP GET request to the '/monitoring/health' endpoint using the retry-enabled makeRequest method.async healthCheck() { return this.makeRequest('GET', '/monitoring/health'); }