Prime Minister Shinzo Abe and his Canadian counterpart, Justin Trudeau, have agreed on the need for boosting fiscal stimulus to bolster global growth, a Japanese official said.

The agreement, reached Tuesday, comes as Abe seeks to strike an accord with his Group of Seven peers, including Canada, on coordinated fiscal action toward spurring world economic growth when they meet this week, though he may face opposition from Germany, which insists on fiscal discipline.

"I am glad that with Justin, we have reached an agreement on key agenda items at the G-7 summit, including on the world economy," Abe told a joint news conference after meeting with Trudeau in Tokyo.