R/tools-builtin.R
tool_glob_files.Rd
Search for files under a directory using shell-style glob matching.
tool_glob_files(pattern = "*", path = ".", recursive = TRUE)
A tool definition created with ellmer::tool().
ellmer::tool()
Glob pattern to match (tool argument)
Base directory to search (tool argument)
If TRUE, search subdirectories recursively (tool argument)