The official said that Taliban Defence Minister Mullah Yaqoob visited the area on Wednesday and defused the situation.
Pedestrian traffic through Pakistan's south-western Chaman border crossing has swiftly increased after the Taliban's hostile takeover of Afghanistan over the last few weeks.
The Taliban want the Pakistani authorities to allow those Afghans to cross the border who have an Afghan ID card or a Pakistani-issued refugee registration card.
Pakistan started the fence along the 2,611-kilometer border with Afghanistan — known as the Durand Line — in 2017 when militants repeatedly launched cross-border attacks on Pakistani posts.
officials discussed issues relating to "cross-border firing and attacks, counter-terrorism and coordinated actions on their respective sides along the border" and exchange of prisoners, the army said.