Update Field
update_fieldUpdate an existing field in a NomaCMS collection. Provide the collection slug, field UUID, type, label, and name to modify field properties and configurations.
Instructions
Update an existing field on a collection
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Field identifier in kebab-case | |
| type | Yes | Field type | |
| label | Yes | Display label | |
| options | No | Field-specific options. For richtext: { editor: { type: 1, outputFormat: 'html' | 'markdown' } }. For relation: { relation: { collection, type: 1 | 2 }, includeDraft?: boolean }. | |
| field_uuid | Yes | The UUID of the field to update | |
| description | No | Field description | |
| placeholder | No | Placeholder text | |
| validations | No | Validation rules | |
| collection_slug | Yes | The collection slug |