Get Treesitter highlight group under cursor

Is there any way to get the Treesitter highlight group for the word under the cursor?

The solutions here (or in :h synIDattr) for normal highlight groups don’t seem to work with Treesitter highlighting, and Treesitter-Playground showing highlight groups is currently broken.

Works for me (:TSHighlightCapturesUnderCursor from treesitter-playground):

Thank you! I missed that command somehow.