Tool to create a new metadata field definition. Use when extending your metadata schema with new fields.
typeRequiredstringData type of the metadata field.
labelRequiredstringHuman-readable label shown in the UI.
mandatorybooleanWhether a value is required (default false).
datasourceobjectPredefined list of values for enum or set metadata fields.
validationobjectValidation rules object, e.g. greater_than, strlen, strregex.
external_idstringUnique ID for the field (max 255 chars). Auto-generated if omitted.
restrictionsobjectUI restrictions object, e.g., {'readonly_ui': True}.
default_valueDefault value for the field. Required if mandatory=true. Use list for 'set'.
default_disabledbooleanDisable field by default for new assets (default false).
allow_dynamic_list_valuesbooleanAllow dynamic additions of set values (for 'set' type).
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.