For Prime Minister Benjamin Netanyahu of Israel, the war he had hoped would secure his legacy — Israel and the United States together attacking Iran — may be ending in a way that could sully it.

The framework agreement to end the war in Iran, which was announced on Sunday, omits some of the most important things Israel wanted.

The full text of the deal has not yet been released and Israel was not directly involved in the negotiations. Initial details suggest that the agreement does nothing to curb Iran’s ballistic missile arsenal, or its funding of regional proxies like Hezbollah in Lebanon or the Houthis in Yemen, who have attacked Israel with their own arsenals. It could help Iran bolster those proxies by easing sanctions, which would allow billions of dollars to flow into its bank accounts.

The deal’s terms when it comes to constraining Iran’s nuclear program — of greatest importance to Israel, and the greatest priority of Mr. Netanyahu’s career — remain undisclosed or still to be negotiated during the agreed 60-day cease-fire to allow for further talks. Questions remain over what will become of Iran’s stock of near-bomb-grade uranium and whether the country will be able to keep enriching nuclear fuel.

Worse still for Mr. Netanyahu, who faces re-election in a few months and is behind in the polls, President Trump, the Israeli leader’s most valuable political asset, has publicly rebuked him multiple times in recent weeks.

While Mr. Trump has praised Iran’s new supreme leader, Mojtaba Khamenei, as pragmatic, he has called Mr. Netanyahu “crazy,” ungrateful and lacking in judgment.

Thank you for your patience while we verify access. If you are in Reader mode please exit and log into your Times account, or subscribe for all of The Times.

Thank you for your patience while we verify access.

Already a subscriber? Log in.

Want all of The Times? Subscribe.