diff options
| author | Ariane Emory <[email protected]> | 2026-04-15 18:44:53 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-04-15 17:44:53 -0500 |
| commit | d2ea6700aa2e6bdf5d04fe70ba893afbb320adbd (patch) | |
| tree | 6f9b1305ea626daee3d48f1585315ea399bb8575 /packages/web/src/content/docs/tools.mdx | |
| parent | 6bed7d469d8f6a18d5543cc668d951d0d1e09776 (diff) | |
| download | opencode-d2ea6700aa2e6bdf5d04fe70ba893afbb320adbd.tar.gz opencode-d2ea6700aa2e6bdf5d04fe70ba893afbb320adbd.zip | |
fix(core): Remove dead code and documentation related to the obsolete list tool. (#22672)
Diffstat (limited to 'packages/web/src/content/docs/tools.mdx')
| -rw-r--r-- | packages/web/src/content/docs/tools.mdx | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/packages/web/src/content/docs/tools.mdx b/packages/web/src/content/docs/tools.mdx index abd486aeb..f05e980b8 100644 --- a/packages/web/src/content/docs/tools.mdx +++ b/packages/web/src/content/docs/tools.mdx @@ -151,23 +151,6 @@ Search for files using glob patterns like `**/*.js` or `src/**/*.ts`. Returns ma --- -### list - -List files and directories in a given path. - -```json title="opencode.json" {4} -{ - "$schema": "https://opencode.ai/config.json", - "permission": { - "list": "allow" - } -} -``` - -This tool lists directory contents. It accepts glob patterns to filter results. - ---- - ### lsp (experimental) Interact with your configured LSP servers to get code intelligence features like definitions, references, hover info, and call hierarchy. @@ -345,7 +328,7 @@ MCP (Model Context Protocol) servers allow you to integrate external tools and s ## Internals -Internally, tools like `grep`, `glob`, and `list` use [ripgrep](https://github.com/BurntSushi/ripgrep) under the hood. By default, ripgrep respects `.gitignore` patterns, which means files and directories listed in your `.gitignore` will be excluded from searches and listings. +Internally, tools like `grep` and `glob` use [ripgrep](https://github.com/BurntSushi/ripgrep) under the hood. By default, ripgrep respects `.gitignore` patterns, which means files and directories listed in your `.gitignore` will be excluded from searches and listings. --- |
