Pakistani warplanes have bombed the hideout of a militant leader, killing five insurgents, a day after the Pakistani Taliban declared a one-month ceasefire to pursue stalled peace talks with the government.

The target of the attack, Mullah Tamanchey, had on Saturday directed a deadly assault against a convoy carrying a polio vaccination team and security forces on Saturday in which 12 people were killed, according to the military.

"The government is not going to tolerate any act of terror and any act will be replied to," said a Pakistani security official who asked not to be identified.

Hours after the attack on the convoy, the Taliban said they would observe a one-month ceasefire to try to revive peace talks that failed last month. It also called on other militant groups to observe the ceasefire.

The Pakistani Taliban, an alliance of militant groups, says it is fighting to overthrow the democratically elected government of Prime Minister Nawaz Sharif and replace it with a state ruled under strict Islamic law.

Sharif has been pursuing peace talks since he was elected in May.