Export or import the catalogue
transferExport records as JSONL for portability or import and merge them idempotently, with newer records winning conflicts. Use it to move learned experiences between MCP servers or models.
Instructions
Portability. mode='export' writes every record as JSONL (to path if given, else returned inline). mode='import' reads JSONL from path or jsonl and merges it idempotently: newer wins on id clash, duplicates are merged. Paths are .jsonl files inside the transfer directory (relative names are resolved there). Embeddings are not transferred; they are recomputed by whichever model the destination uses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| path | No | File name or path (.jsonl) inside the transfer directory | |
| jsonl | No | Inline JSONL for import |