kb_export
Export a knowledge base to JSON for backup, migration, or inspection, optionally including vector embeddings, or return the JSON directly when no path is provided.
Instructions
导出知识库为 JSON。
Args: path: 导出文件路径(必须在知识库目录内);留空则直接返回 JSON。 include_embeddings: 是否包含向量数据。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "kb_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| include_embeddings | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |