workspace_text_search
Search workspace files by literal text or regex, filter by file extensions, limit returned matching lines, and report skipped binary or non-UTF-8 files.
Instructions
Search lines by literal text or regex; report skipped binary/non-UTF-8 files.
extensions accepts suffixes with or without a leading dot; null selects all files, while an empty list selects none. max_matches limits returned matching lines, not scanning. Counts are exact; skipped-file paths are available through the linked immutable resource.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | project/ | |
| query | Yes | ||
| regex | No | ||
| extensions | No | ||
| max_matches | No | ||
| case_sensitive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matches | Yes | ||
| resources | No | ||
| matches_count | Yes | ||
| matches_truncated | Yes | ||
| skipped_files_count | Yes |