create_index
Creates a database index on a specified table column to accelerate query performance and reduce response times.
Instructions
Creates a standard index to speed up queries. Args: ctx: The context of the tool call. table_name: The name of the table to create the index on. column_name: The name of the column to create the index on. index_name: The name of the index to create. table_schema: The schema of the table to create the index on.
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 |
|---|---|---|---|
| table_name | Yes | ||
| column_name | Yes | ||
| index_name | No | ||
| table_schema | No | SQLUser |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |