Validate SQL
explainValidate a SQL query against decoded EVM contract events without executing it. Checks tables, columns and types, returning valid confirmation or an error with a fix hint before you run the query.
Instructions
Validate a SQL query over this nest's decoded EVM contract events WITHOUT executing it - binds tables/columns/types and returns {valid:true} or an error with a fix hint. Cheaper than sql; use it to check a query before running it.
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": {
"query": "<query>"
},
"name": "explain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | A SELECT or WITH query to validate. |