create_index
Creates an index on a table column to improve query performance. Specify the table and column; optionally name the index.
Instructions
Create an index on a table column for better query performance.
Args: table_name: Name of the table column_name: Name of the column to index index_name: Optional custom index name
Returns: Status message
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": {
"table_name": "<table_name>",
"column_name": "<column_name>"
},
"name": "create_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index_name | No | ||
| table_name | Yes | ||
| column_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |