U.S. President Donald Trump said Tuesday that the cease-fire between Israel and Iran after 12 days of conflict remains "in effect," though he slammed both sides for committing violations.

"ISRAEL is not going to attack Iran. All planes will turn around and head home, while doing a friendly 'Plane Wave' to Iran. Nobody will be hurt, the Ceasefire is in effect!" Trump wrote on his Truth Social platform.

Trump had just accused both Iran and Israel of violating the newly agreed cease-fire, in comments to journalists in Washington before his departure to attend a NATO summit in The Hague.

Earlier, Trump had urged Israel to refrain from responding to alleged Iranian attacks, posting on Truth Social: "DO NOT DROP THOSE BOMBS ... BRING YOUR PILOTS HOME, NOW!"

He said that any more attacks after the agreed cease-fire would be a major violation.