get_server_capabilities
Retrieve the language server's capability map to identify supported tools before calling them, preventing unnecessary round trips on unsupported features.
Instructions
Return the language server's capability map and classify every agent-lsp tool as supported or unsupported based on what the server advertised during initialization. Use this to determine which tools will return results before calling them — saves round trips on servers that don't support certain LSP features (e.g. not all servers support type_hierarchy or inlay_hints). Requires start_lsp to have been called first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||