List LSP clients
nvim_lsp_clientsList language servers attached to a buffer, including their ID, name, root directory, and initialization status. Use this to check if language intelligence is ready.
Instructions
List the language servers attached to a buffer (or the current buffer), with their id, name, root directory and whether they have finished initializing. Use this to check language intelligence is available before calling the other nvim_lsp_* tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bufnr | No | Buffer number. Omit for the current buffer. |