Preview Read-only Query
ob_query_previewPreview policy, sensitive-column, and EXPLAIN risk for a read-only SQL statement without executing the target query.
Instructions
Preview policy, sensitive-column, and EXPLAIN risk for a read-only SQL statement without executing the target query.
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": "ob_query_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| params | No | ||
| maxRows | No | ||
| profile | No |