Updated

President Obama on Wednesday called the chairman and the ranking Democrat on the Senate Foreign Relations Committee to further discuss a framework agreement aimed at keeping Iran from being able to develop a nuclear weapon.

Chairman Bob Corker, R-Tenn., and ranking member Ben Cardin, D-Md., are working on legislation that would give Congress a say in the implementation of any final deal the U.S. and its partners can reach with Iran in coming weeks. The committee is to vote on the bill Tuesday.

Obama objects to the bill as it's written and has promised to veto it.

Josh Earnest, the president's spokesman, says Obama discussed with Corker the commitments Iran had made to limit its nuclear program.

Earnest says Obama praised Corker's handling of the issue and reiterated that the emerging deal is the best way to keep Iran from obtaining a nuclear weapon.

The tentative agreement has to be finalized by June 30.

Corker's office confirmed the telephone call but declined to discuss details. Cardin confirmed that he spoke with Obama for about 15 minutes.