While IDF sources deny that there was an ambush, Hamas claims that it was an ambush operation.
The Arabic media is calling it "Operation Luring Idiots." Which makes it appear that the goal was indeed to kidnap Israeli soldiers.

Buy EoZ's book, PROTOCOLS: EXPOSING MODERN ANTISEMITISM