JERUSALEM — Prime Minister Benjamin Netanyahu of Israel acknowledged on Sunday that Israeli forces had attacked Iranian weapons warehouses in Syria, after years of ambiguity over involvement in specific attacks on the country.

“We worked with impressive success to block Iran’s military entrenchment in Syria,” Mr. Netanyahu said at the start of the weekly cabinet meeting in Jerusalem, adding that the Israeli military had struck Iranian and Hezbollah targets “hundreds of times.”

“Just in the last 36 hours, the air force attacked Iranian warehouses with Iranian weapons at the international airport in Damascus,” Mr. Netanyahu said. “The accumulation of recent attacks proves that we are determined more than ever to take action against Iran in Syria, just as we promised.”

The rare admission came hours after the Israeli military announced that it had exposed the sixth and final tunnel under its border with Lebanon, which it says the Iranian-backed organization Hezbollah dug, wrapping up a six-week operation to seal the cross-border tunnels.