csv_to_excel
Convert a CSV file to an Excel spreadsheet. Specify input CSV path, output Excel path, and sheet name.
Instructions
Convert a CSV file to Excel format. Requires openpyxl package.
Args: csv_path: Path to the CSV file excel_path: Path for the output Excel file (.xlsx) sheet_name: Name for the sheet
Returns: Success or error message
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_path": "<csv_path>",
"excel_path": "<excel_path>"
},
"name": "csv_to_excel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv_path | Yes | ||
| excel_path | Yes | ||
| sheet_name | No | Sheet1 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |