search_filesystem
Search for files and directories in the workspace filesystem using a case-insensitive pattern. Recursively scans subdirectories, returns matching paths, and supports excluding specific paths with glob patterns.
Instructions
Recursively search for files and directories within the workspace filesystem matching a pattern in their name. Searches through all subdirectories from the starting path. The search is case-insensitive and matches partial names. Returns full paths (relative to workspace) to all matching items. Supports excluding paths using glob patterns.
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| excludePatterns | No | An array of glob patterns (e.g., 'node_modules', '*.log') to exclude from the search. | |
| path | Yes | The starting directory path for the search (relative to the workspace directory). | |
| pattern | Yes | The case-insensitive text pattern to search for in file/directory names. | 
Input Schema (JSON Schema)
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "properties": {
    "excludePatterns": {
      "default": [],
      "description": "An array of glob patterns (e.g., 'node_modules', '*.log') to exclude from the search.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "path": {
      "description": "The starting directory path for the search (relative to the workspace directory).",
      "type": "string"
    },
    "pattern": {
      "description": "The case-insensitive text pattern to search for in file/directory names.",
      "type": "string"
    }
  },
  "required": [
    "path",
    "pattern"
  ],
  "type": "object"
}