To make these cookies gluten-free, substitute the all-purpose flour with a 1:1 gluten-free baking flour blend that includes xanthan gum for structure. Additionally, verify that the toffee bits and chocolate chips are labeled gluten-free, as some brands may contain gluten or be processed in facilities that handle wheat products.