analyze_sql
Analyze SQL queries for syntax errors and performance issues without executing them, enabling safe optimization before deployment.
Instructions
Analyze SQL query without execution (syntax, performance analysis).
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": {
"sql_query": "<sql_query>"
},
"name": "analyze_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql_query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |