export_index
Back up or migrate your local RAG index by exporting it to a JSON file, returning the file path and stats on documents, chunks, and file size.
Instructions
Export the current index to a JSON file for backup or migration. Returns the export file path and stats (document count, chunk count, file size). The exported file can be re-imported with a future import_index tool.
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": "export_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputPath | No | Absolute path for the export file. Defaults to "{dbPath}/export-{timestamp}.json". |