The Sages and commentators agree that Eliyahu’s decree of drought was not commanded by God but was his own initiative. The absence of the words “So says God”, the need to decree the drought with an oath, and his final words “except by MY word” support this position.

Courtesy of the Virtual Beit Midrash, Yeshivat Har Etzion