From d2ea6700aa2e6bdf5d04fe70ba893afbb320adbd Mon Sep 17 00:00:00 2001 From: Ariane Emory <97994360+ariane-emory@users.noreply.github.com> Date: Wed, 15 Apr 2026 18:44:53 -0400 Subject: fix(core): Remove dead code and documentation related to the obsolete list tool. (#22672) --- packages/web/src/content/docs/tools.mdx | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'packages/web/src/content/docs/tools.mdx') 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. --- -- cgit v1.2.3