execute_command
Run LSP server-defined commands to apply refactorings, generate code, or trigger server-side operations after retrieving code actions. Returns the server's result.
Instructions
Execute a workspace command via LSP. Commands are server-defined identifiers returned by code actions (in the command field of a CodeAction). Use this after get_code_actions to trigger a server-side operation such as applying a refactoring, generating code, or running a server-specific action. Returns the server-defined result or null.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| arguments | No |