# Cast media schema > Supported in: Casts a media reference to a specific media schema and format. This is useful when the input media has a generic schema (multimodal) but the actual content is known to be a specific type (such as a png image). The cast narrows the type metadata to allow downstream operations that require specific schema types. **Expression categories:** Media ## Declared arguments * **Media:** The media reference to cast the schema type of.
*Expression\* * **Media format:** The specific format to cast to.
*Enum\* **Output type:** *Media reference*