WELLINGTON, New Zealand — Prime Minister Jacinda Ardern of New Zealand will attempt this week to use the terrorist attack that killed 51 Muslim worshipers in Christchurch mosques in March to demand that the biggest internet platforms do more to stamp out violent and extremist content.

Ms. Ardern will be in France with President Emmanuel Macron to sign an agreement they crafted called the “Christchurch Call” that asks the social media giants to examine the software that directs people to violent content, and to share more data with government authorities and each other to help eradicate toxic online material, according to officials from New Zealand and France involved in drafting the proposal.

The accused gunman’s use of social media to live stream his rampage in New Zealand and to share a hate-filled manifesto crystallized the vulnerability of internet platforms to extremist and violent views.

Ms. Ardern’s effort adds momentum to a global push to curb the power of the world’s largest internet platforms.