update_column
Update column properties in a PowerDesigner model by specifying only the values to change. Supports dry-run to preview modifications before applying.
Instructions
Update column properties: name, code, data_type, length, precision, mandatory, default_value, comment, description, domain, primary. Only supplied values are changed. 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>",
"table_ref": "<table_ref>",
"column_ref": "<column_ref>"
},
"name": "update_column"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| name | No | ||
| domain | No | ||
| length | No | ||
| comment | No | ||
| dry_run | No | ||
| primary | No | ||
| model_id | Yes | ||
| data_type | No | ||
| mandatory | No | ||
| precision | No | ||
| table_ref | Yes | ||
| column_ref | Yes | ||
| default_value | No |