As part of a bigger refactor, you want to rename some variables. With an LSP hook, the LLM can make the change (more) reliably.
The LLM wants to see the definition of a function. More reliable than grepping.