add_folder
Index all files in a folder into an existing project and save the pattern in config.yaml for automatic re-indexing on future runs.
Instructions
Index all files in a folder into an existing project and persist the pattern in config.yaml so the folder gets re-indexed automatically on future runs.
Args: folder_path: Absolute path to the folder to index project: Project name to add the folder to (must already exist) pattern: Glob pattern for files within the folder (default: "**/*" for all files)
Returns: Confirmation with file/chunk counts, or error message
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>",
"project": "<project>"
},
"name": "add_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | **/* | |
| project | Yes | ||
| folder_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |