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.
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": {
"source": "<source>",
"name": "<name>",
"dataType": "<dataType>"
},
"name": "upsert_domain"
}
}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 |