health_check
Check the health and status of the Commitizen service to monitor its operational state and ensure proper functionality.
Instructions
Check the health and status of the Commitizen service.
Returns: Dict containing service health information
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The 'health_check' tool handler: a FastMCP-decorated function that retrieves Commitizen service info, constructs a health status response, and returns it wrapped in a success response.@mcp.tool() @handle_errors(log_errors=True) def health_check() -> Dict[str, Any]: """ Check the health and status of the Commitizen service. Returns: Dict containing service health information """ info = service.get_info() result = { "status": "healthy", "service_info": info, "timestamp": str(__import__("datetime").datetime.now()), } return create_success_response(result)