health_check
Verify the operational status of the Coolify API to ensure your self-hosted platform is running correctly and ready for deployment tasks.
Instructions
Check Coolify API health status
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/handlers.ts:48-53 (handler)The main handler logic for the 'health_check' tool. It attempts to fetch the health status from the Coolify API endpoint '/health' and returns a fallback message if the endpoint is unavailable.case 'health_check': try { return await client.get('/health'); } catch { return { status: 'Health check endpoint not available in this Coolify version' }; }
- src/tools/definitions.ts:117-121 (schema)The JSON schema definition for the 'health_check' tool, indicating it requires no input parameters.{ name: 'health_check', description: 'Check Coolify API health status', inputSchema: { type: 'object', properties: {}, required: [] } },
- src/index.ts:36-38 (registration)Registration of all tools via the MCP server's listTools handler, which returns the list including 'health_check' from getToolDefinitions().this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: getToolDefinitions() }));