Use the metadata form controller to combine existing metadata fields and metadata types into forms. You can also use an optional category for grouping the fields in the metadata form.
Reference
Find metadata form
TBC
Create or update metadata form
Important: Always send the complete form to the API and make sure there are no gaps in the positioning of fields.