We know that Palantir used AI for target selection in Gaza:
https://www.972mag.com/lavender-ai-israeli-army-gaza/
We know that it integrated Claude and Claude was deemed to be a supply chain risk just before the Iran war. So it is not a huge mental leap to assume what it is being used for.
You won't get an answer from Hegseth. This Guardian "article" is by a Substack blogger who also does not have answers.