MySQL JSON Index Suggest
mysql_json_index_suggestIdentify frequently queried JSON paths and generate index suggestions to improve query performance.
Instructions
Suggest functional indexes for frequently accessed JSON paths.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mysql_json_index_suggest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | No | Alias for column | |
| name | No | Alias for table | |
| table | No | Table name | |
| column | No | JSON column name | |
| tableName | No | Alias for table | |
| sampleSize | No | Sample size to analyze |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Error code (e.g. VALIDATION_ERROR, QUERY_ERROR) | |
| data | No | ||
| error | No | Error message if operation failed | |
| details | No | Additional error context | |
| metrics | No | Token estimation metrics | |
| success | Yes | Whether the operation succeeded | |
| category | No | Error category (validation, query, connection, internal) | |
| suggestion | No | Suggested fix for the error | |
| recoverable | No | Whether the error is recoverable |