kb_unregister
Unregister a knowledge base by stopping file watching and removing it from the registry without affecting the folder. Optionally purge its disk index cache.
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_unregister"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 必填,已注册知识库的绝对路径 | |
| purge_cache | No | 是否同时删除该库的磁盘索引缓存 |