JERUSALEM Oct. 28 (Reuters) - Israeli Prime Minister Benjamin Netanyahu said on Tuesday he had ordered the military to "carry out powerful attacks" in Gaza after accusing the militant group Hamas of violating a ceasefire agreement in the Palestinian territory.

A statement by Netanyahu's office said he had ordered the attacks but did not specify the reason. However an Israeli military official said Hamas violated the ceasefire by carrying out an attack against Israeli forces in an area of the enclave that is under Israeli control.

"This is yet another blatant violation of the ceasefire," the official said.

More: President Trump threatens to 'eradicate' Hamas if it doesn't uphold ceasefire with Israel

Netanyahu earlier accused Hamas of violating the weeks-old agreement by turning over some wrong remains in a process of returning the bodies of hostages to Israel.