restart_lsp_server
Restart the LSP server to resolve unresponsiveness, clear stale data, or apply configuration changes. Optionally reinitialize with a new root directory for switching projects.
Instructions
Restart the LSP server process. Use this tool to reset the LSP server if it becomes unresponsive, has stale data, or when you need to apply configuration changes. Can optionally reinitialize with a new root directory. Useful for troubleshooting language server issues or when switching projects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root_dir | No | The root directory for the LSP server. If not provided, the server will not be initialized automatically. |