A motion is just a document asking a court to do something. For instance, an attorney here filed a motion to require the prosecution to use crayons during trial, because the defendant was very dangerous and defense counsel was ordered to have crayons.
Court rules likely govern this. For instance, in my state, in civil actions:
- Rule 7(b)(1). Motions and other papers.
An application to the court for an order shall be by motion which, unless made during a hearing or trial, shall be made in writing, shall state with particularity the grounds therefor including the number of the applicable civil rule, if any, under which it is filed, and shall set forth the relief or order sought. A proposed form of order, if included, shall be a separate document. The requirement of writing is fulfilled if the motion is stated in a written notice of the hearing of the motion.
However, there might be a different rule for show cause or contempt proceedings.
As a basic rule, any request of the court to do something should state:
- the jurisdiction of the court over the matter (statute or rule)
- the problem (prior court hearings/orders, subsequent factual allegations, probably supported by an affidavit)
- the remedy sought
- request for hearing