optimize_query
Improve SQL query performance by analyzing execution issues and providing rewritten queries, explanations, and index recommendations.
Instructions
Suggest a rewritten, optimized version of a SQL query with explanations. Identifies sequential scans, missing indexes, sort spills, join inefficiencies, and suggests index DDL. [BUILD tier]
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": "optimize_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||