update_index
Modify an existing database index by changing its name, uniqueness, comment, or column list, with a dry-run option to preview changes before applying.
Instructions
Update an index: name, unique flag, comment, or replace its columns. 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>",
"index_ref": "<index_ref>"
},
"name": "update_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| unique | No | ||
| columns | No | ||
| comment | No | ||
| dry_run | No | ||
| model_id | Yes | ||
| index_ref | Yes | ||
| table_ref | Yes |