Custom Compilation Database Filename

Is there a way in tools to specify a custom compilation database filename? As long as it is compilation_database.json everything works fine. Is there a way to tell the tool to use something_else.json instead?