content_search
Search file contents by literal text or regular expression to find matching lines with paths, line numbers, and columns; read-only and skips binary files.
Instructions
Search file contents by literal text (default) or a regular expression.
Read-only. Matches carry path, 1-based line number, column and the whole
line. At most 200 matches may be requested; a larger request is refused
with LIMIT_EXCEEDED and a truncated result says so. An invalid regular
expression is INVALID_PATTERN. Binary files are skipped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | ||
| path | Yes | ||
| query | Yes | ||
| regex | No | ||
| max_results | No | ||
| case_sensitive | No |