Metis — Connect Project Folder
connect_project_folderRegisters recognized files from a project folder recursively in Metis's tracked_files table, so you can read individual files later with read_file; call once per project.
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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"folder_path": "<folder_path>"
},
"name": "connect_project_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| max_files | No | ||
| folder_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |