search_content
Find text patterns inside WSL files by searching directories recursively. Returns file, line, and matching content for each hit.
Instructions
Search file contents in WSL (recursive grep). Returns file:line:match entries. Uses ripgrep if available, else falls back to grep.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory to search | |
| distro | No | ||
| include | No | File name glob filter, e.g. "*.py" | |
| pattern | Yes | Search pattern (regex for grep/rg) | |
| maxResults | No | Default 200 |