import_group
Import a question group into a LimeSurvey survey from an .lsg or .csv file. Supports file path or base64-encoded content.
Instructions
Import a group (.lsg/.csv file) into a survey. Pass file_path or sImportData in base64.
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": "import_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | Local path to a file. If given, the server reads it and base64-encodes it automatically (alternative to passing the content directly). | |
| sImportData | No | File content in BASE64. Not needed if using `file_path`. | |
| sNewGroupName | No | Optional. New group name. | |
| sImportDataType | No | Type: 'lsg' or 'csv'. Inferred from the extension if using `file_path`. | |
| sNewGroupDescription | No | Optional. New group description. |