I've been learning more about refactoring operations ("code actions") in the Language Server Protocol and they're more limited than I realised. An action is basically a name and an edit. There's no scope for prompting the user or offering GUI options.