Import CSV
import_csvTurn CSV rows into LightCMS content pages by setting the title column; every column becomes a page field.
Instructions
Import content from CSV data. Each row becomes a content page. Specify which column is the title; all columns become content fields.
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": {
"csv_data": "<csv_data>",
"title_column": "<title_column>"
},
"name": "import_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv_data | Yes | Raw CSV text (first row must be headers),required | |
| folder_path | No | Folder path for imported pages (default /imports) | |
| slug_column | No | Header name of the column to use as the URL slug (defaults to slugified title) | |
| auto_publish | No | Automatically publish imported pages (default false) | |
| title_column | Yes | Header name of the column to use as the page title,required | |
| template_name | No | Template name for imported pages |