pub async fn check_sql( sql: &str, options: GateOptions, ) -> Result<Accepted, ToolError>
Gates SQL on a blocking thread, since a long parse must not stall the runtime; a rejection is a tool error.