find_files

Retrieves an array of file paths from the codebase based on provided search criteria.

Arguments

Name
Type
Description
Required

find_files_prompt

prompt

The instructions used to find the files.

subpath

string

The subpath directory to search in for the files.

cached_file_paths

array

A cached array of file paths to be used instead of querying the codebase.

limit

number

Limit the amount of results returned.

Returns

Type
Description

array

An array of file paths found based on the search criteria.

Example

- name: find_files
  arguments:
    find_files_prompt: <instructions-to-find-files>
    cached_file_paths: <optional-cached-array-of-file-paths>
    subpath: <subpath>
  returns: <array-of-file-paths>

Last updated