Cellm home page
Search...
⌘K
Github
Support
Support
Search...
Navigation
Tools
File Search
Guides
API Reference
Homepage
Github
Discord
Functions
PROMPT
PROMPTWITH
Tools
File Search
File Reader
Tools
File Search
Uses glob patterns to search for files on the your disk and returns matching file paths.
Copy
FileReader
(
rootPath
:
string
,
includePatterns
: [
string
], [
excludePatterns
: [
string
]])
rootPath (Required):
A string.
The root directory to start the glob search from.
includePatterns (Required):
List of strings.
The list of glob patterns whose matches will be included in the result.
excludePatterns (Optional):
List of strings.
A list of glob patterns whose matches will be excluded from the result.
Default: Empty.
You cannot call this function yourself, but you can instruct the model to call it for you.
PROMPTWITH
File Reader
Assistant
Responses are generated using AI and may contain mistakes.