Explain SQL Error
ob_explain_errorExplains SQL errors by providing policy context and visible metadata hints without executing the query.
Instructions
Explain a SQL error with policy context and visible metadata hints without executing the SQL.
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>",
"errorMessage": "<errorMessage>"
},
"name": "ob_explain_error"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| limit | No | ||
| schema | No | ||
| profile | No | ||
| errorMessage | Yes |