import
Load data into a collection from a file path or inline JSON/CSV content. Specify the target collection and optionally set CSV separator or encoding.
Instructions
Import data from file or content. Provide either 'filepath' (for files inside Docker container) or 'content' (JSON/CSV data as string).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | File content to import as JSON or CSV data (optional if filepath is provided) | |
| encoding | No | File encoding | |
| filepath | No | File path to import from (optional if content is provided) | |
| separator | No | CSV separator character | |
| collection | Yes | Collection to import into |