export_submissions
Export form submissions to a spreadsheet file in Nextcloud. Provide form ID and destination folder to create a CSV, XLSX, or ODS file.
Instructions
Export submissions to a spreadsheet file in the user's Nextcloud storage.
Args: form_id: Numeric form id. path: Destination folder path inside the user's files (no trailing slash). The generated file is created inside this folder. file_format: Optional format override: "csv", "xlsx", "ods". Defaults to the form's configured fileFormat.
Returns: JSON with the created file's name.
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": {
"form_id": "<form_id>",
"path": "<path>"
},
"name": "export_submissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| form_id | Yes | ||
| file_format | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |