explain_sql
Explain read-only SQL queries after SQLGlot AST validation, returning execution plans for tenant-authorized data platform analysis.
Instructions
Explain tenant-authorized read-only SQL after SQLGlot AST validation.
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": {
"source": "<source>",
"sql": "<sql>"
},
"name": "explain_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| source | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |