validate_sql
Checks SQL syntax and structure against the DANDI Archive schema to catch errors before execution, preventing costly mistakes in data queries without running the query.
Instructions
Validate SQL query without executing 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": {
"sql": "<sql>"
},
"name": "validate_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SQL query to validate |