kb_init
Register a local folder as a knowledge base: validates the directory, persists the registry entry across restarts, and starts background indexing and file monitoring for immediate searchability.
Instructions
注册(初始化)一个文件夹为知识库:校验目录、写入用户级注册表(跨重启保留)、后台建立索引并启动文件监听。首次使用或要纳入新文件夹时调用。
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": {
"path": "<path>"
},
"name": "kb_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 可选,显示名,默认取文件夹名 | |
| path | Yes | 必填,要注册为知识库的文件夹绝对路径 |