connect_project_folder
Registers all relevant files in a project folder for Metis to read. Walks the folder recursively to add files with supported extensions (code, markdown, data).
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 |
|---|---|---|---|
| folder_path | Yes | ||
| label | No | ||
| max_files | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |