In an action involving real property any person appearing in any manner in the title thereto, or claiming or appearing to claim some interest in the real property involved, may be included as a party defendant by naming such person as a party defendant in the caption of such petition; and when such person is made a defendant in the body of the petition under the appellation of substantially the following words "said defendant named herein claims some right, title, lien, estate, encumbrance, claim, assessment or interest in and to the real property involved herein, adverse to plaintiff which constitutes a cloud upon the title of plaintiff and defendant has no right, title, lien, estate, encumbrance, claim, assessment or interest, either in law or in equity, in and to the real property involved herein", that same is sufficient to include any and all claims, known or unknown, that such defendant may have in and to the real property involved in such case, it not being necessary to set out the reason in the petition, or other pleading, for such person being made a party defendant.
Okla. Stat. tit. 12, § 236a