Code of Civil Procedure Article 388

Except as otherwise provided, the court may not enter any judgment on claims which are not raised by parties.
中文原文 民事訴訟法第388條
除別有規定外,法院不得就當事人未聲明之事項為判決。

English translation for reference only; the Chinese text prevails. Not legal advice.