js_search
Search across all on-disk JavaScript files in a source for a pattern, returning file, line, and context snippets. Use to locate code efficiently without full file retrieval.
Instructions
Grep across all on-disk JS files in a source.
Returns file:line + small context snippets (token-thrifty). Use js_read
to fetch full content for files of interest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| pattern | Yes | ||
| limit | No | ||
| max_matches_per_file | No | ||
| context | No | ||
| host_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |