The palace , which now serves primarily as a museum , takes its name from the red-cloaked figure of the monkey god Hanuman that stands to the left of the main palace entrance .
These days , the palace 's main purpose is as a museum .