import_knowledge
Load knowledge from a JSON file, merging or replacing existing data. Preview a diff before applying changes.
Instructions
Load knowledge from a JSON file. Can merge with existing data or replace it entirely. When merge=false, the current state is auto-backed up before overwriting. Set preview=true to see a diff of what would change without actually importing.
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": {
"filePath": "<filePath>"
},
"name": "import_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| merge | No | If true, merge with existing data. If false, replace. | |
| preview | No | If true, show a diff of what would change without actually importing. Use this to preview before applying. | |
| filePath | Yes | Absolute path to the JSON knowledge file to import |