WASHINGTON (AP) -- Hillary Rodham Clinton can claim a piece of the victory if the U.S. and other world powers ultimately complete a final nuclear deal with Iran.
She will own a piece of the failure if the negotiations collapse or produce a weak deal.
Her statement after Thursday's tentative agreement suggests the soon-to-be Democratic candidate for president knows those are her stakes.
She called the framework "an important step," while cautioning that "the devil is always in the details."
"The onus is on Iran and the bar must be set high," said Clinton, who helped lay the groundwork for the diplomacy with Iran as President Barack Obama's first secretary of state. "There is much to do and much more to say in the months ahead, but for now diplomacy deserves a chance to succeed."
The issue will figure prominently in the foreign policy debate of the 2016 presidential campaign. Nearly all the expected GOP candidates said the outline agreement was dangerous to U.S. interests.
"This attempt to spin diplomatic failure as a success is just the latest example of this administration's farcical approach to Iran," said Florida Sen. Marco Rubio. He is likely to make foreign policy a centerpiece of his candidacy.
But Clinton occupies a unique space on the nuclear issue because of her role in Obama's Cabinet. She sent a close adviser, Jake Sullivan, to participate in the secret talks with Iran that led to the start of the international negotiations over the country's nuclear ambitions.
Clinton is also navigating delicate ties with Israel and the American Jewish community, an influential group of voters and donors. Israeli Prime Minister Benjamin Netanyahu, a fierce critic of the Obama administration's outreach to Iran, described the framework deal as a threat to "the very survival" of his nation.
"I don't know how you can maneuver all aspects of this politically," said Ray Takeyh, a senior fellow for Middle Eastern studies at the Council on Foreign Relations. "You can be supportive and skeptical. I suspect that's the direction."
The tentative agreement announced Thursday by the U.S. and its negotiating partners - Britain, France, Germany, China and Russia - is aimed at keeping Iran from developing a nuclear weapon. Negotiators have until June 30 to settle the technical details.
The deal would remove economic penalties against Iran once the U.N. nuclear agency verifies Tehran's compliance.
At times, Clinton has tried to play up her connection to the historic diplomacy. The U.S. and Iran severed diplomatic relations in 1979 after the Islamic revolution and the storming of the U.S. Embassy in Tehran, where 52 Americans were held hostage for more than a year.
When Obama was getting credit for the clandestine negotiations, Clinton's aides made sure reporters knew that the approach had started during her tenure at the State Department.
Clinton wrote in her memoir of how she set the negotiations in motion by facilitating back-channel discussions with Iran through the sultan of Oman, who suggested the talks after he helped free an American hiker held by Iran. Clinton tapped Sullivan to establish contact with the Iranians in 2012, an important step in the path to Thursday's preliminary agreement.
Sullivan has closely consulted with Clinton on policy as she prepares to announce her presidential campaign this month. The 38-year-old Sullivan is seen as her likely pick, if she wins the presidency, as national security adviser.
Yet Clinton also expressed doubt as the talks dragged on and she neared a return to politics.
Last year, Clinton told an American Jewish organization that while Obama had given 50-50 odds of an agreement, she was "skeptical the Iranians will follow through and deliver." She said she had "seen many false hopes dashed through the years."
Brian Katulis, a senior fellow at the left-leaning Center for American Progress who focuses on national security policy in the Middle East and South Asia, said if a full deal is reached by the summer, Clinton would be "part of something historic" because of her initial role.
If it failed, he predicted she still would be "in a strong position at the center of the debate, because Iran would be widely viewed as the spoiler."
With public polling showing a majority of Americans favor a diplomatic resolution to Iran's nuclear ambitions, Katulis said, "any effort by Republicans to criticize Clinton's support for diplomacy might ultimately push them to the margins of today's national security debate and away from the center."
Clinton appears set to go on offense against the Republicans in the race on Iran. After dozens of Republican senators sent a letter to Iran's leaders warning that Congress could upend a deal, Clinton said the lawmakers were "out of step with the best traditions of American leadership."
"Either these senators were trying to be helpful to the Iranians or harmful to the commander in chief in the midst of high-stakes international diplomacy," she said. "Either answer does discredit" to the letter-signers.
More on AOL.com:
Terror cases allege women wanted to fight, not wed fighters
Fans weigh in on 'frightening' Lucille Ball statue
Iraq's Tikrit, free of Islamic State, is a city in ruins