execute_command
Execute server-defined commands from code actions to apply refactoring, generate code, or run server-specific actions. Use after retrieving code actions to trigger workspace operations.
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 |