Unfortunately, you cannot create an lcmbiar file using the sdks. If you are looking to use the sdks, you would need to export the contents to a biar file and then import the contents from the biar using the sdks.
You cannot use the LCM tool to import the contents from a biar file created by using the sdks.