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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"collection_slug": "<collection_slug>",
"field_uuid": "<field_uuid>",
"type": "<type>",
"label": "<label>",
"name": "<name>"
},
"name": "update_field"
}
}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 |