create_index
Create normal, unique, or composite indexes on tables in PowerDesigner physical data models (PDM), with dry-run support; CDM and LDM are rejected.
Instructions
Create an index on a table: normal, unique or composite. Example: columns=['user_id','create_time'], name='idx_order_user_time'. PDM only - indexes are a physical concept and a CDM/LDM is rejected. 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>",
"columns": "<columns>"
},
"name": "create_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| unique | No | ||
| columns | Yes | ||
| comment | No | ||
| dry_run | No | ||
| model_id | Yes | ||
| table_ref | Yes |