Story highlights Israel Defense Forces warn if militants attack during truce, it will respond

Israel and Hamas agree to 12-hour humanitarian cease-fire

At least four people are dead as new protests, violence, break out in the West Bank

The Israeli military confirms the death of a soldier that Hamas claimed to have captured

Angry clashes erupted Friday in the West Bank, after Palestinian leaders called for a "day of rage" in response to the shelling of a United Nations shelter that killed 16 people.

At least four Palestinians were killed in outbreaks of violence in several parts of the West Bank, according to medical sources.

The call for a massive follow-up to what were already some of the largest West Bank protests in years came as diplomats scrambled to find a cease-fire proposal that would satisfy mortal enemies Israel and Hamas and end more than two weeks of violence that has claimed more than 800 lives, most of them civilians.

The developments come as Israel and Hamas agreed to a 12-hour humanitarian cease-fire beginning Saturday morning.

Prime Minister Benjamin Netanyahu told U.S. Secretary of State John Kerry that Israel agreed to a cease-fire, a U.S. official told CNN. The official, who is traveling with Kerry, spoke on condition anonymity. The news was first reported by Reuters and Agence France Presse.

JUST WATCHED Has Israel-Gaza coverage been fair? Replay More Videos ... MUST WATCH Has Israel-Gaza coverage been fair? 09:29

JUST WATCHED West Bank erupts in deadly demonstrations Replay More Videos ... MUST WATCH West Bank erupts in deadly demonstrations 02:17

Hamas also agreed to the cease-fire, according to a statement released by senior Hamas spokesman Sami Abu Zuhri.

There were questions whether the temporary truce would hold given that a previous Egyptian-backed cease-fire earlier this month collapsed.

Israel's military warned militants against targeting its soldiers and civilians during the 12-hour period it would respond, saying it would respond. During the cease-fire, Israel Defense Forces says it will continue working to "locate and neutralize tunnels" being used by militants.

The cease-fire agreement came hours after U.N. Secretary-General Ban Ki-moon called for the cease-fire, with the hopes it would be extended to seven days, while diplomats work to broker an end to the bloodshed.

The cease-fire talks are playing out against a backdrop of mounting casualties.

At least 864 people have been killed and more than 5,700 wounded since the start of an Israeli operation on Gaza, the Palestinian Ministry of Health said Friday. An Israeli military representative said Friday that another soldier had been killed in Gaza, bringing the total number of Israelis killed to 36 -- 33 soldiers and three civilians.

A 23-year-old man was shot near Huwara village outside Nablus by Jewish settlers, a doctor at the Rafidia Hospital said. The circumstances of his death are unclear, but it led to clashes between protesters and the Israeli military in which another man was killed, medical sources said.

JUST WATCHED Anger grows in West Bank over Gaza strike Replay More Videos ... MUST WATCH Anger grows in West Bank over Gaza strike 02:40

JUST WATCHED U.N.: There's no excuse for firing at shelters Replay More Videos ... MUST WATCH U.N.: There's no excuse for firing at shelters 06:13

JUST WATCHED Israeli Amb. blames Hamas for school hit Replay More Videos ... MUST WATCH Israeli Amb. blames Hamas for school hit 03:41

Two more men were killed during clashes with Israeli troops at a checkpoint north of Hebron in Beir Ummar in the West Bank, according to Palestinian medical sources.

A pro-Hamas demonstration in Ramallah drew a crowd of several hundred, and a protest march toward a Jewish settlement led to heavy clashes with the Israel Defense Forces and border police.

Several people were injured, a CNN crew at the scene said.

The IDF confirmed one Israeli soldier was killed and several were wounded Friday in Gaza, when militants fired mortars and anti-tank missiles.

It also confirmed one of its soldiers, Sgt. Oron Shaul, was killed in battle in Gaza on Sunday.

Hamas had said it was holding Shaul after capturing him in an ambush on an armored personnel Sunday in which six other IDF soldiers died.

A committee led by the chief rabbi of the IDF concluded that he should be defined as "a soldier killed in action whose burial site is unknown," an IDF statement said.

Diplomatic moves

Meanwhile, the Americans were taking the lead on drafting an agreement with Israel and the Palestinians on a one-week humanitarian cease-fire starting Sunday, several diplomatic sources told CNN on Friday. Palestinian Authority President Mahmoud Abbas is the main Palestinian party to the agreement and has been the lead in discussions that include the United States, Egypt and Israel.

Photos: Photos: Israel-Gaza crisis Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Palestinians in Gaza celebrate a ceasefire between Israel and Hamas on Tuesday, August 26. After more than seven weeks of heavy fighting, Israel and Hamas agreed to an open-ended ceasefire that puts off dealing with core long-term issues. Hide Caption 1 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Palestinians inspect the damage to a residential building following several late night Israeli airstrikes in Gaza City on August 26. Hide Caption 2 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Gila, center, mother of 4-year-old Israeli boy Daniel Tragerman, sits next to his grave during his funeral near the Israel-Gaza border on Sunday, August 24. Hide Caption 3 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Palestinians run away from debris after a bomb from an Israeli airstrike hit a house in Gaza on Saturday, August 23. Hide Caption 4 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – An Israeli soldier smokes a cigarette in a large concrete pipe used as shelter at an army deployment point near the Israeli-Gaza border on Wednesday, August 20. Hide Caption 5 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Light trails made by rockets fired from the Gaza Strip stand out against the night sky on Tuesday, August 19. Despite efforts to come to a peaceful agreement, Gaza militants launched rockets into Israel on Tuesday, and Israel responded with its own rockets. Hide Caption 6 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – An injured Palestinian man is helped into the Shifa hospital in Gaza City on August 19. Hide Caption 7 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Police examine the remains of a rocket launched from Gaza that landed near the kibbutz of Yad Mordechay on August 19. Hide Caption 8 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Smoke rises after an Israeli airstrike on Gaza City on August 19. Hide Caption 9 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Islam El Masri begins to sort through the rubble of her destroyed home in Beit Hanoun, Gaza, on Thursday, August 14. Hide Caption 10 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Israelis gather in Tel Aviv during a protest August 14 calling on the government and the army to end Palestinian rocket attacks from Gaza once and for all. Hide Caption 11 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Smoke rises in Gaza City after an airstrike on Saturday, August 9. Hide Caption 12 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Israeli soldiers walk past a Merkava tank as they patrol a field near Israel's border with Gaza on August 9. Hide Caption 13 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – A Palestinian boy salvages family belongings from the rubble of a four-story building after an airstrike in Gaza City on Friday, August 8. Hide Caption 14 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Israelis flee after a rocket fired from Gaza hit the residential neighborhood of Sderot, Israel, on August 8. Hide Caption 15 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – A Palestinian man looks out over destruction in the al-Tufah neighborhood of Gaza City on Wednesday, August 6. Hide Caption 16 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Displaced Palestinians carry their belongings as they leave a United Nations school in Beit Lahiya, Gaza, to return to their homes Tuesday, August 5. Hide Caption 17 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – The body of Avrohom Wallis is carried during his funeral in Jerusalem on Monday, August 4. Wallis was killed in what Israeli police spokesman Micky Rosenfeld called a "terror attack," when a man drove an earthmover into a bus in Jerusalem. Hide Caption 18 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Israeli soldiers fire a mortar shell toward Gaza from the Israeli side of the border on August 4. Hide Caption 19 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Palestinians remove rubble from a house hit by an airstrike in the al-Shati refugee camp in Gaza City on August 4. Hide Caption 20 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – An Israeli drone circles over Gaza City on Sunday, August 3. Hide Caption 21 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – A Palestinian man sits in a hospital in Rafah, Gaza, on August 3. Hide Caption 22 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – An honor guard caries the coffin of Israeli Lt. Hadar Goldin during his funeral in Kfar-saba, Israel, on August 3. Goldin was thought to have been captured during fighting in Gaza but was later declared killed in action by the Israel Defense Forces. Hide Caption 23 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – A Palestinian boy looks for belongings after an airstrike in Rafah on Saturday, August 2. Hide Caption 24 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Israeli soldiers walk to their tank at a staging area near the border with Gaza on August 2. Hide Caption 25 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – A young Palestinian carries damaged copies of the Quran from the rubble of the Imam Al Shafaey mosque in Gaza City on August 2. Hide Caption 26 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Palestinians displaced from their houses return to check their homes in Gaza City on Friday, August 1. Hide Caption 27 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – An Israeli soldier carries a shell as he prepares a tank along the Israel-Gaza border on Thursday, July 31. Israel called up 16,000 additional reservists, bolstering forces for its fight against Hamas, the militant group that controls Gaza. Hide Caption 28 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Smoke rises from a building after an airstrike in Rafah on July 31. Hide Caption 29 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – The parents and a sister of Israeli soldier Guy Algranati mourn during his funeral in Tel Aviv on July 31. Hide Caption 30 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – U.N. workers remove a donkey injured at a U.N.-run school in Gaza on Wednesday, July 30. Hide Caption 31 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Palestinians walk under the collapsed minaret of a destroyed mosque in Gaza City on July 30. Hide Caption 32 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Palestinians gather leaflets that fell from an Israeli plane on July 30. The leaflets warned residents of airstrikes in Gaza City. Hide Caption 33 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Israelis take cover from a Palestinian rocket attack from Gaza during the funeral of Israeli soldier Meidan Maymon Biton, which was held at a cemetery in Netivot, Israel, on Tuesday, July 29. Hide Caption 34 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Smoke and fire rise above Gaza City after an Israeli airstrike on July 29. Hide Caption 35 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – An Israeli soldier prays on the Israeli side of the border with Gaza on July 29 as smoke billows from the only power plant supplying electricity to Gaza. Hide Caption 36 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Near the rubble of their home in Rafah, Palestinian men mourn July 29 for people killed during an airstrike. Hide Caption 37 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – A Palestinian man places a portrait of Hamas leader Ismail Haniya on the rubble of Haniya's Gaza City home July 29 after it was hit by an overnight airstrike. Hide Caption 38 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Flares from Israeli forces light up the night sky of Gaza City on July 29. Hide Caption 39 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Israeli soldiers carry the coffin of 2nd Lt. Roy Peles, an infantry officer who was killed in combat, during his funeral in Tel Aviv on Sunday, July 27. Hide Caption 40 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – During a 12-hour cease-fire in Gaza City's Shijaiyah neighborhood on Saturday, July 26, a Palestinian man sits atop a car filled with belongings that were salvaged from a destroyed home. Hide Caption 41 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Israeli soldiers watch a bomb explode along the border with Gaza before the 12-hour cease-fire on July 26. Hide Caption 42 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – As her brother-in-law Mazen Keferna weeps on the ground, Manal Keferna cries upon discovering her family home destroyed by airstrikes in Beit Hanoun on July 26. Hide Caption 43 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Palestinians dig a body out of the rubble of a destroyed house in Gaza during the cease-fire on July 26. Hide Caption 44 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – An Israeli soldier mourns at the grave of reserve Master Sgt. Yair Ashkenazy during his funeral at the military cemetery in Rehovot, Israel, on Friday, July 25. Ashkenazy was killed during operations in northern Gaza, the Israel Defense Forces reported. Hide Caption 45 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – A Palestinian man cries after bringing a child to the Kamal Adwan hospital in Beit Lahiya on Thursday, July 24. The child was wounded in a strike on a school that was serving as a shelter for families in Gaza. It's unclear who was behind the strike. The Israeli military said it was "reviewing" the incident, telling CNN that a rocket fired from Gaza could have been responsible. Hide Caption 46 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Israeli soldiers carry a wounded soldier to a helicopter near the Israel-Gaza border on July 24. Hide Caption 47 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Israeli soldiers patrol the Israel-Gaza border on July 24. Hide Caption 48 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – A trail of blood is seen in the courtyard of the school that was hit July 24 in the Beit Hanoun district of Gaza. Hide Caption 49 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – An Israeli tank fires toward Gaza from a position near Israel's border on July 24. Hide Caption 50 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – A photograph tweeted by astronaut Alexander Gerst on Wednesday, July 23, shows major cities of Israel and Gaza. Gerst said in his tweet: "My saddest photo yet. From #ISS we can actually see explosions and rockets flying over #Gaza & #Israel." Hide Caption 51 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – A woman in Philadelphia passes by a departure board that shows US Airways Flight 796, scheduled to fly to Tel Aviv, has been canceled on Tuesday, July 22. The Federal Aviation Administration told U.S. airlines they were temporarily prohibited from flying to the Tel Aviv airport after a Hamas rocket exploded nearby. Hide Caption 52 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Smoke and fire from the explosion of an Israeli strike rise over Gaza City on July 22. Hide Caption 53 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – A relative of Israeli soldier Jordan Ben-Simon mourns over his coffin during his funeral in Ashkelon, Israel, on July 22. Hide Caption 54 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Palestinians inspect destroyed buildings and collect usable items after an Israeli air assault on July 22. Hide Caption 55 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Israeli soldiers weep at the grave of Israeli Sgt. Adar Barsano during his funeral Sunday, July 20, in Nahariya, Israel. Hide Caption 56 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Palestinian medics carry a body in Gaza's Shaja'ia district on July 20. Hide Caption 57 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Israeli soldiers give medical care to soldiers who were wounded during an offensive in Gaza on July 20. Hide Caption 58 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – A Palestinian boy injured during an Israeli airstrike is taken to the hospital by his father in Gaza City on July 20. Hide Caption 59 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Palestinians flee their homes as Israeli troops focus their firepower on the Gaza town of Shaja'ia on Sunday, July 20. The shelling and bombing killed at least 60 people and wounded 300, according to the Gaza Health Ministry. Hide Caption 60 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Smoke rises after an Israeli missile hit Shaja'ia on July 20. Hide Caption 61 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – A Palestinian child walks on debris from a destroyed house following an overnight Israeli strike in Beit Lahiya on Saturday, July 19. Hide Caption 62 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – An explosion rocks a street in Gaza City on Friday, July 18. Hide Caption 63 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Israeli ground forces move to the Gaza border on July 18. Hide Caption 64 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Israeli soldiers patrol near the Israel-Gaza border on July 18. Hide Caption 65 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – A relative mourns July 18 during the funeral of Rani Abu Tawila, a Palestinian who was killed in an Israeli attack on Gaza City. Hide Caption 66 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – A Palestinian demonstrator, protesting Israel's military operation in Gaza, runs through smoke July 18 during clashes with Israeli soldiers at the entrance of the Ofer prison in the West Bank village of Betunia. Hide Caption 67 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – This image, made from video shot through a night-vision scope, was released by the Israeli military on July 18. It shows troops moving through a wall opening during the early hours of the ground offensive in Gaza. Hide Caption 68 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Children stare as Palestinians flee Khan Yunis, Gaza, to safe areas July 18. Hide Caption 69 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – An Israeli tank fires a shell into Gaza on July 18. Hide Caption 70 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – A Palestinian carries a gas cylinder salvaged from the rubble of an apartment building after it was hit by Israeli fire on July 18. Hide Caption 71 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – An Israeli reservist prays July 18 near the Gaza border by Sderot, Israel. Hide Caption 72 of 73 Photos: Photos: Israel-Gaza crisis Israel-Gaza crisis – Flare smoke rises into the Gaza City sky on Thursday, July 17. Hide Caption 73 of 73

JUST WATCHED School attack leaves Gazan kids wounded Replay More Videos ... MUST WATCH School attack leaves Gazan kids wounded 02:50

JUST WATCHED Middle East propaganda war Replay More Videos ... MUST WATCH Middle East propaganda war 03:18

At one point, the United States and Egypt were said to be close on an agreement with Israel and the Palestinians on the one-week cease-fire proposal, several diplomatic sources told CNN on Friday.

But Kerry told reporters Friday that no final proposal was submitted to Israel for a vote.

"We still have some more things to do over the course of ... 24 to 48 hours," Kerry said, adding that he would travel to Paris on Saturday, where he will continue to press for a deal.

If the temporary 12-hour humanitarian truce holds, it will be used to get medical supplies into Gaza, and the injured and some of the dead bodies out -- with the hope that the parties can enter formal negotiations on a more permanent cease-fire that addresses economic, political and security concerns about Gaza, with other nations involved.

Palestinian Parliament Member Mustafa Barghouti told CNN Hamas will comply with the terms of the temporary cease-fire.

"Of course, they will," Barghouti said during an interview that aired Friday on CNN's The Situation Room with Wolf Blitzer. "Not only Hamas but all Palestinians."

JUST WATCHED CNN crew turned back by gunfire in Gaza Replay More Videos ... MUST WATCH CNN crew turned back by gunfire in Gaza 02:33

JUST WATCHED US bans Israel flights, citing rocket attack Replay More Videos ... MUST WATCH US bans Israel flights, citing rocket attack 03:30

U.N. shelter hit

The word of a temporary truce follows violent protests in the West Bank and Gaza, prompted after the U.N. shelter in Gaza was hit, killing 16 people and wounding a couple hundred more -- most of them women and children.

Video from the school showed chaos amid pools of blood. There were so many victims than many gurneys included two wounded children.

One father carried his small daughter into a hospital. There wasn't much he could do but try to comfort his little girl as she cried and begged for him not to leave her.

The bloodshed left the U.N. chief, Ban, exasperated.

"I am telling to the parties -- both Israelis and Hamas, Palestinians -- that it is morally wrong to kill your own people," Ban said. The "whole world has been watching, is watching with great concern. You must stop fighting and enter into dialogue."

A Palestinian government statement called the shelling "Israeli brutal aggression."

It's unclear who was responsible. The Israel military said it is investigating.

"From initial inquiries done about the incident, during the intense fighting in the area, militants opened fire at ... soldiers from the school area," a military statement said. "In order to eliminate the threat posed to their lives, they responded with fire toward the origins of the shooting."

Regev, the Israeli government spokesman, said Friday that it could have been inadvertent Israeli fire or the result of a Hamas rocket strike on Israel that fell short.

"Even if we do discover in the end that it was errant Israeli fire, why was a U.N. school, the vicinity of a U.N. school, turned into a war zone by Hamas?" Regev said.

The Israeli military said the area surrounding the school in Beit Hanoun had turned into a battlefield, and it had asked that the facility be evacuated even before the school was hit. A four-hour window was given, the military said.

Chris Gunness, a spokesman for the United Nations Relief and Works Agency for Palestine Refugees in the Near East, disputed that Friday. He said the Israeli military never responded to the agency's urgent pleas for a cease-fire.

"If the IDF had responded, this carnage would never have happened," he said.

The Israeli military accused Hamas militants of refusing to let people at the shelter leave, saying they were being used as human shields.

"This is a tragedy. This is a clear tragedy," Israeli military spokesman Lt. Col. Peter Lerner told CNN.

Thursday's strike marks the third time a U.N. school serving as a shelter has been hit.

The first occurred Tuesday at an UNRWA school in eastern Gaza, where about 300 people were staying. The second occurred Wednesday in central Gaza at a shelter where about 1,500 were staying. There were no fatalities and few injuries in those incidents.