One of 38 things your AI can do in your Instroc account, in Versions and code
Search app files
search_
Reads only
Ask your AI
- Where is the checkout price set?
- Which file has the footer
- Where do we send the welcome email
What it does
Searches an Instroc app's source files for a word or phrase and returns each matching line with its file path and line number.
Fits questions like 'where is the checkout price set', 'which file has the footer', 'where do we send the welcome email'. The text is matched as written, not as a pattern. Secret files, binary files and files holding a key are not searched. read_app_file then reads a matching file in full.
This is the text your AI reads, word for word.
- Changes
- None. It only reads.
Inputs
project_idRequired- The app's project_id, as returned by list_my_apps or create_app.
queryRequired- The word or phrase to find, matched as written.
case_sensitiveOptional- Whether upper and lower case must match. Default: no.
path_prefixOptional- Only files whose path starts with this, e.g. 'src/components'. Default: every file.
limitOptional- Most matching lines to return.