In a book published in Paris this month, the deposed shah of Iran blames the United States for actively working to depose him earlier this year.

More than two years of American ambivalence and then hostility toward his sovereignty were climaxed, Shah Mohammad Reza Pahlavi charges, when U.S. Air Force Gen. Robert Huyser went to Iran to persuade the shah's generals to stand aside while Moslem dissidents and their allies among Iranian troops forced the shah to flee.

The shah accuses Huyser, deputy commander-in-chief of the U.S. forces in Europe, of being indirectly responsible for the subsequent execution of most of the shah's generals. Huyser's go-between in undermining him, according to the shah, was Mehdi Bazargan, a long-time political opponent of the shah who later served as prime minister under Ayatollah Ruhollah Khomeini.

The shah also criticizes "the intelligence services of NATO and the CIA," the British and other Western European government, and "the leftwing press in Western countries" as culprits in his downfall.

He makes these accusations and defends his own actions during his quarter century as ruler of Iran in a book entitled "response a l'Histoire" to be published by Albin Michel in Paris. A serialization of the book, adapted by writer H.J. Weaver, began today in the new British news magazine Now!

The shah never mentions President Carters on his administration by name in today's installment, but the only Americans to receive kind words are former secretary of state Henry Kissinger and former president Richard Nixon. The shah recounts their visits to him to exile in Mexico and particularly praises Nixon.

"On the subject of American and international politics," the shah says of Nixon, "I always found him to be much better informed than anyone else. Always true to his principles, he served his country by being fully conscious of the might of the United States and of American responsibility for maintaining the balance of power and an honorable peace in the world."

As the Iranian uprising became more general by the end of 1978, according to the shah, "the intelligence services of NATO and the CIA may have had good reason for thinking that the [Iranian] constitution would be abused [by his opponents]. It was therefore necessary to neutralize the Iranian Army."

He claims that "was clearly the purpose which brought Gen. Huyser to Iran" in January. The shah charges that Huyser arranged through the shah's chief of staff, Gen. Abbas Gharabaghi, to meet with Bazargan.

"Gen. Gharabaghi told me of this but only Gen. Hauser and Mr. Bazargan can say what decisions were taken," the shah wrote. "I know only that Gen. Gharabaghi used his authority to persuade the generals under his command to play no part in the events about to take place," which resulted in the shah's overthrow.

In the only conversation Huyser had with him, the shah said, "he accompanied ambassador William Sullivan of the United States on one of the last interviews I had with him. The one thing that was on the minds of both of them was to know on what day and at what time I should be leaving."