File tree Expand file tree Collapse file tree
packages/web/src/content/docs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,34 +51,6 @@ You can disable automatic LSP server downloads by setting the `OPENCODE_DISABLE_
5151
5252---
5353
54- ## LLM Tool (Experimental)
55-
56- OpenCode includes an experimental built-in tool named ` lsp ` that lets the LLM query your LSP servers for code navigation and symbol information.
57-
58- To enable it, set ` OPENCODE_EXPERIMENTAL_LSP_TOOL=true ` (or ` OPENCODE_EXPERIMENTAL=true ` to enable all experimental features).
59-
60- Once enabled, you can still disable it via your ` tools ` config:
61-
62- ``` json title="opencode.json"
63- {
64- "$schema" : " https://opencode.ai/config.json" ,
65- "tools" : {
66- "lsp" : false
67- }
68- }
69- ```
70-
71- Example prompts:
72-
73- - "Use the lsp tool to go to definition of ` createServer ` in ` src/server.ts ` at line 12, character 5."
74- - "Use lsp hover on ` User ` in ` src/models/user.ts ` at line 20, character 10."
75-
76- :::note
77- The ` lsp ` tool only works when an LSP server is available for the file type.
78- :::
79-
80- ---
81-
8254## How It Works
8355
8456When opencode opens a file, it:
You can’t perform that action at this time.
0 commit comments