Tokyo stocks swung into positive territory Tuesday after eurozone talks produced a bailout deal for Athens, easing fears over a Greek bankruptcy that would have sent shockwaves across the globe.
The benchmark Nikkei 225 index, which opened down 0.19 percent, was 0.38 percent higher, or 35.97 points, at 9,424.91 by the morning break.
The broader Topix index of all first-section shares gained 0.26 percent, or 2.06 points, at 781.56.
"The worst-case scenario (of talks breaking up) was avoided," Fumiyuki Nakanishi, general manager of investment & research at SMBC Friend Securities, told Dow Jones Newswires.
After 13 hours of talks in Brussels, the eurozone and the International Monetary Fund agreed to unlock 43.7 billion euros ($56 billion) in loans for Athens and grant significant debt relief going forward for decades to come.
The results of the "laborious" negotiations, according to IMF head Christine Lagarde, are intended to see Greece's debt-to-GDP ratio fall from an estimated 144 percent to 124 percent by 2020, and "substantially below 110 percent" by 2022.
In forex trading, the euro bought $1.2984 and 106.48 yen after briefly topping $1.30 for the first time in about a month.
That was up from $1.2971 and 106.38 yen in New York trade late Monday, although the euro eased slightly after the Greece announcement.
The dollar was flat at 82 yen.
The Greece news followed a mixed session on Wall Street with strong gains by Apple, Facebook and other key tech stocks sending the Nasdaq 0.33 percent higher to 2,976.78.
But the Dow Jones Industrial Average finished down 0.33 percent at 12,967.37 amid lingering concerns over consumer spending.

