I'm using clangd, and one of its feature is to show "Included header ... is not used directly (fixes available)" warning messages.
However, :LspCodeAction only work when the cursor is on the line that contains the warning.
Consider updating the README, which currently contains
Gets a list of possible commands that can be applied to a file so it can be fixed (quick fix)
I think "the current line" is better match than "a file". Although I don't know if this is specific to clangd.