The attorney general’s role as special prosecutor when it comes to civilians dying during interactions with police or being injured or sexually assaulted should be codified in state law, according to a criminal justice platform released Wednesday by Letitia James.

James, the New York City public advocate, is one of four Democrats vying for the party’s nomination for attorney general in a Sept. 13 primary.

The platform includes a push for the state to fund body cameras for cops and allow for more open discovery rules statewide.

And James is calling on Gov. Andrew Cuomo to sign legislation that would create a prosecutorial misconduct commission for locally elected district attorneys.

Cuomo, who has endorsed James, has not given an indication whether he would sign the bill, which is opposed by the state’s district attorneys.

“When too many feel the scales of justice are tilted against them, we must change the system. As the State’s top law enforcement official, I will bring accountability and transparency to outdated systems in dire need of reform,” James said in a statement.

James faces Leecia Eve, Rep. Sean Patrick Maloney and Zephyr Teachout in the primary.

The full platform can be found here.