kb_export
Export a knowledge base index snapshot as a zip for migrating to another machine or directory, enabling import without re-embedding.
Instructions
把知识库的索引快照(chunks + 向量 + FTS)导出为 zip 文件,用于换机/换目录迁移,导入后无需全量重新 embedding。要求缓存已启用且完成过至少一次索引。
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": {
"out_path": "<out_path>"
},
"name": "kb_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out_path | Yes | 必填,快照输出路径(.zip) | |
| vault_path | No | 可选,已注册知识库的绝对路径;仅注册了一个库时可省略 |