upsert_entity
Create a new entity in an ERD with logicalName, or update an existing entity by entityId. Only provided fields change; physical name is auto-derived.
Instructions
Creates an entity (no entityId, logicalName required) or updates one (entityId given, only provided fields change). The physical name is derived automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Target ERD — exactly one of a local file ({file}) or a server ERD ({erdId}) | |
| entityId | No | ||
| description | No | ||
| logicalName | No |