To make these sheet pan chocolate chip cookies gluten-free, substitute the all-purpose flour with a 1:1 gluten-free flour blend that includes xanthan gum for structure. Ensure that the cornstarch, chocolate chips, and other ingredients are certified gluten-free to avoid cross-contamination. The remainder of the recipe remains unchanged and will produce soft and chewy gluten-free cookies.