Search text
search_textSearch UTF-8 workspace files for text or regex matches. Filter by glob patterns, set case sensitivity, and control result counts for targeted code searches.
Instructions
Search UTF-8 workspace files for text or regex matches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | ||
| path | No | . | |
| query | Yes | ||
| regex | No | ||
| max_results | No | ||
| context_lines | No | ||
| exclude_globs | No | ||
| include_globs | No | ||
| case_sensitive | No | ||
| max_preview_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| query | No | ||
| engine | No | ||
| matches | No | ||
| warnings | No | ||
| truncated | No | ||
| output_bytes | No | ||
| output_lines | No | ||
| truncated_by | No | ||
| total_matches | No | ||
| total_matches_exact | No |