find_content_in_file_with_ai
Finds specific content in a file based on a given context prompt.
Arguments
Name
Type
Description
Required
path_to_file
string
The path to the file where the content needs to be found. The path should be relative to the project root.
find_context_prompt
prompt
The prompt describing what content to find in the file.
results_as_array
boolean
Whether to return the results as an array of strings. Defaults to false
Returns
Type
Description
prompt, prompt array
The specific content found in the file.
Example
Last updated