boscli_health_database
Check BOS database connectivity to diagnose and resolve connection issues with the ERP system.
Instructions
Check BOS database connectivity
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/health.ts:18-21 (handler)Handler for boscli_health_database tool. Makes a GET request to '/boscli/health/database' endpoint via the BosApiClient.
name: 'boscli_health_database', description: 'Check BOS database connectivity', schema: {}, handler: async (_, client) => client.get('/boscli/health/database'), - src/tools/health.ts:20-20 (schema)Empty schema/input validation for boscli_health_database (no parameters needed).
schema: {}, - src/tools/health.ts:4-35 (registration)The healthTools array is defined and exported from src/tools/health.ts, containing the boscli_health_database tool definition.
export const healthTools: McpTool[] = [ { name: 'boscli_health_check', description: 'Full BOS system health check - modules, database, cache, routes', schema: {}, handler: async (_, client) => client.get('/boscli/health'), }, { name: 'boscli_health_modules', description: 'Check health of all BOS modules', schema: {}, handler: async (_, client) => client.get('/boscli/health/modules'), }, { name: 'boscli_health_database', description: 'Check BOS database connectivity', schema: {}, handler: async (_, client) => client.get('/boscli/health/database'), }, { name: 'boscli_health_cache', description: 'Check BOS cache systems', schema: {}, handler: async (_, client) => client.get('/boscli/health/cache'), }, { name: 'boscli_health_schema', description: 'Check BOS database schema integrity', schema: {}, handler: async (_, client) => client.get('/boscli/health/schema'), }, ]; - src/index.ts:28-28 (registration)healthTools is spread into allTools in src/index.ts, registering all health tools including boscli_health_database.
...healthTools, - src/stdio.ts:27-46 (registration)healthTools is spread into allTools in src/stdio.ts for the STDIO transport server, registering boscli_health_database.
const allTools: McpTool[] = [ ...healthTools, ...moduleTools, ...routeTools, ...cacheTools, ...systemTools, ...productTools, ...orderTools, ...cartTools, ...customerTools, ...inventoryTools, ...voucherTools, ...loyaltyTools, ...storeTools, ...checkoutTools, ...promotionTools, ...engagementTools, ...erpTools, ...smartTools, ];