Use the right document type
Operations accept queries, mutations, subscriptions and fragments. SDL accepts type definitions and extensions, including a standalone type without a Query root. Variables mode works independently, so you do not need a query just to tidy an object.