add_relations_batch
⚡ Creates several FK relations in a single call — used in phase 3 of the ERD workflow, after all the reference fields have been created via add_fields_batch. Each entry defines cardinalityFrom + cardinalityTo (Merise crow's foot).
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": {
"relations": "<relations>"
},
"name": "add_relations_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relations | Yes | List of relations to create in a single call. | |
| expectedProjectId | No | UUID of the project THIS call targets (overrides the session project). |