ingest_directory
Ingest all supported code and document files from a directory into the knowledge base, with option to recursively process subdirectories.
Instructions
Ingest all supported files in a directory.
Supports all extensions in CodeChunker.LANGUAGE_MAP plus .md, .rst, .txt.
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": {
"directory_path": "<directory_path>"
},
"name": "ingest_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recursive | No | ||
| directory_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |