drop_index
Remove an existing index from CockroachDB by specifying its name. Simplifies database optimization and maintenance by eliminating unnecessary indices.
Instructions
Drop an existing index.
Args: index_name (str): Name of the index to drop.
Returns: A success message or an error 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": {
"index_name": "<index_name>"
},
"name": "drop_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index_name | Yes |