Search Code
localnest_search_codeSearch text across project files to find exact symbol names, imports, or known identifiers with matching lines. Supports glob patterns, case sensitivity, regex, and context lines.
Instructions
[EXACT_MATCH] Search text across files under a project/root and return matching lines. Best for exact symbol names, imports, or known identifiers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| project_path | No | ||
| all_roots | No | ||
| glob | No | * | |
| max_results | No | ||
| case_sensitive | No | ||
| context_lines | No | ||
| use_regex | No | ||
| response_format | No | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes |