How can I add a parameter to a GraphQL Mutation?

I have a table with rows. When I click on a field in the row I’d like that particular field to be toggled (it’s a boolean). How can I parameterize my GraphQL mutation inside the editor?

Hi, apologies we don’t have good docs on this / it’s not intuitive. We’re currently working on a redesign of our GraphQL editor so this should become more obvious soon…

For now, if you have a GraphQL variable inside your GraphQL query, we’ll automatically parse it, and then give you a textinput on the bottom of the query editor to input the variable. LMK if that makes sense? Thanks!