update_reference
Update a reference's name, code, comment, roles, cardinality, and mandatory flag in PowerDesigner models. Use dry_run to preview changes before applying.
Instructions
Update a reference: name, code, comment, mandatory, parent_role, child_role, cardinality ('0,n', '1,1', ...). Supports dry_run.
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": {
"model_id": "<model_id>",
"reference_ref": "<reference_ref>"
},
"name": "update_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| name | No | ||
| comment | No | ||
| dry_run | No | ||
| model_id | Yes | ||
| mandatory | No | ||
| child_role | No | ||
| cardinality | No | ||
| parent_role | No | ||
| reference_ref | Yes |