analyze_table
Updates index statistics for a MySQL table so the query optimizer can plan queries accurately. Specify the table name, and optionally a database.
Instructions
Analyzes a table to update index statistics for the query optimizer.
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_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Optional: specific database name | |
| table_name | Yes | Name of the table to analyze |