analyze_index
Refresh index statistics by analyzing a specified MySQL table, helping the query optimizer choose better execution plans.
Instructions
Analyzes a table to update index statistics.
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>"
},
"name": "analyze_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Optional: specific database name | |
| table_name | Yes | Name of the table to analyze |