Answer
The primary language used in Ptolemy II's court was Koine Greek, a common Greek dialect widely used during the Hellenistic period. This facilitated communication and cultural exchange among the diverse ethnic groups within their vast kingdom, which spanned Egypt and parts of the Middle East.