upsert_domain
Create or update an ERD domain by name or ID, preserving existing description when not provided.
Instructions
Creates a domain (upsert by name) or updates one (domainId given). Existing description preserved when omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| source | Yes | Target ERD — exactly one of a local file ({file}) or a server ERD ({erdId}) | |
| dataType | Yes | ||
| domainId | No | ||
| description | No |