veryfront__search_file_text

Search file text. Requires project.files.read.

Risk: read_only.

Arguments

NameTypeRequiredDescription
refstringContent to read: main, branch:<name-or-id>, release:<version> or env:<name>. Omit for main.
querystringYesLiteral text to find, or a regular expression when is_regex is true.
patternstringFile path pattern, for example .tsx or pages/.
is_regexbooleanRead query as a regular expression (default false).
case_sensitivebooleanMatch letter case exactly (default false).
limitintegerLargest number of matching files, 1 to 100 (default 50). It limits files, not matching lines.
project_referencestringProject ID or slug (defaults to the current project)

Call it

JSON
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__search_file_text",    "arguments": {      "query": "<query>"    }  }}