loo_add_association
Add a relation (association) with attributes to a .loo Merise MCD file to model links between entities for MLD, MPD, or SQL exports.
Instructions
Add an association (relation).
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": {
"path": "<path>",
"name": "<name>"
},
"name": "loo_add_association"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| name | Yes | ||
| path | Yes | Path to the .loo file | |
| attributes | No | Attributes: "name" strings or {"name", "type" (e.g. INT, VARCHAR(50), DECIMAL(10,2), DATE, TEXT, or any SQL type), "pk" (bool)} |