Metis — Connect Project Folder
connect_project_folderRegister project files for Metis to read. Walks folder recursively, adds recognized file types (.R, .py, .md, etc.) to a tracked list for subsequent access.
Instructions
Register all relevant files in a project folder so Metis can read them.
Walks the folder recursively and adds every file with a recognised extension
(.R, .Rmd, .md, .py, .js, .ts, .sql, .json, .yaml, .qmd, .tex, .csv) to
the tracked_files table. Call this once per project; after that, use
read_file() to read any individual file.
Args:
folder_path: Absolute path to the project root folder.
label: Short label for all files from this project (e.g. "MLM Course").
max_files: Safety limit — stop after registering this many files (default 200).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| max_files | No | ||
| folder_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |