files_import
Imports a CSV, Excel, or Parquet file into a Tabulya spreadsheet. file_name's extension picks the format: .csv (→ a data table at 'cell'), .xlsx/.xls/.xlsm/.xlsb/.ods (→ each workbook sheet becomes a new sheet; 'cell'/'sheet' ignored), .parquet (→ a data table at 'cell'). file_data is the file's bytes, base64-encoded. Requires edit permission. Signature: files_import(file_uuid, file_name, file_data, sheet?, cell?).
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": {
"file_uuid": "<file_uuid>",
"file_name": "<file_name>",
"file_data": "<file_data>"
},
"name": "files_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell | No | Top-left cell for CSV/Parquet (default 'A1'); ignored for Excel. | |
| sheet | No | Target sheet for CSV/Parquet (defaults to the first sheet); ignored for Excel. | |
| file_data | Yes | The file's raw bytes, base64-encoded. | |
| file_name | Yes | File name; its extension determines the format (.csv/.xlsx/.xls/.xlsm/.xlsb/.ods/.parquet). | |
| file_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | ||
| file_uuid | Yes | ||
| sequence_number | Yes |