analyze_query
Analyzes PostgreSQL SQL offline for risky patterns and index suggestions without executing queries. Note: absence of findings doesn't prove safety.
Instructions
Offline PostgreSQL SQL heuristics. No execution; no finding is not proof of safety.
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": "<sql>"
},
"name": "analyze_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes |