csv_to_excel
Convert raw CSV text to a styled Excel workbook with auto-filters, frozen header, and auto-column sizing. Customize delimiter and sheet name.
Instructions
Convert CSV content into a styled Excel workbook.
Auto-formats with header styling, auto-filter, frozen header row, and auto-sized columns.
Args: csv_content: Raw CSV text content. delimiter: CSV delimiter (default: comma). has_header: Whether the first row is a header (default: true). sheet_name: Name for the sheet tab (default: "Data").
Returns: Base64-encoded XLSX file.
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_content": "<csv_content>"
},
"name": "csv_to_excel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv_content | Yes | ||
| delimiter | No | , | |
| has_header | No | ||
| sheet_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |