When the executors or administrators with the will annexed have in writing compromised any controversy as provided in § 33-7-12, they, or any party thereto, may file a civil action in the superior court for the county in which the will is pending for probate, praying the court to authorize and confirm the compromise. In this action the persons named as executors, or the administrator with the will annexed, and all persons claiming under the will whose interest will, in the opinion of the court, be affected by the proposed compromise, and those entitled to the estate as intestate, shall be parties.
R.I. Gen. Laws § 33-7-13