import_csv
Import a CSV file into an Excel sheet at a specified cell, with automatic type detection for numeric fields and empty cells.
Instructions
Import a CSV file into a sheet, starting at start_cell.
With detect_types=true (default), numeric fields become numbers and empty fields become empty cells; otherwise everything is written as text. Existing cells in the target area are overwritten.
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": {
"session_id": "<session_id>",
"csv_path": "<csv_path>"
},
"name": "import_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | No | ||
| csv_path | Yes | ||
| encoding | No | utf-8-sig | |
| delimiter | No | , | |
| session_id | Yes | ||
| start_cell | No | A1 | |
| detect_types | No |