ingest_project_materials
Parse, chunk, and vectorize local project documents and folders into a specified knowledge base, recursively importing supported files and skipping hidden or Office lock files.
Instructions
将本地工程底稿或参考资料(支持 .pdf, .docx, .xlsx, .txt, .md)解析、分块并向量化入库到指定项目知识库。
支持直接传入整个文件夹路径:当列表元素为文件夹时,会自动递归扫描并导入该目录下所有受支持的文档(自动跳过隐藏文件与 Office `~$` 临时锁文件),用户无需逐一列出文件名。
参数:
project: 项目名称(如 "长三角算力中心可研项目")。
file_paths: 本地文件或文件夹绝对路径列表(可混传单个文件路径与文件夹路径)。
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": {
"project": "<project>",
"file_paths": "<file_paths>"
},
"name": "ingest_project_materials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | ||
| file_paths | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||