01 - Preheat oven to 350°F. Line a baking sheet with parchment paper.
02 - In a large mixing bowl, whisk together the flour, baking powder, baking soda, cinnamon, nutmeg, ginger, cloves, and salt until evenly combined.
03 - In a separate bowl, whisk granulated sugar, brown sugar, pumpkin purée, eggs, vegetable oil, and vanilla extract until smooth and well blended.
04 - Add the wet mixture to the bowl of dry ingredients. Stir gently until just incorporated; avoid overmixing.
05 - Fold in the chopped nuts and chocolate chips, if using, until evenly distributed.
06 - Divide the dough in half. Shape each portion into a log approximately 10 inches long and 2 inches wide on the prepared baking sheet, keeping space between logs. Lightly flatten tops.
07 - Bake for 25 minutes or until logs are set and lightly golden. Remove from oven and cool on pan for 10 minutes.
08 - Lower the oven temperature to 300°F.
09 - Using a serrated knife, slice the logs diagonally into 1/2-inch thick pieces. Arrange slices cut side down on the baking sheet.
10 - Bake for 10 minutes, then flip each piece and bake for an additional 10–12 minutes until crisp and golden.
11 - Transfer biscotti dippers to a wire rack and allow to cool fully before serving or storing.