Question: what is the written dialogue portion of a musical called
Answer: script
Other accepted answers: script; libretto