从CSV创建表格
create_table_from_csvConvert CSV data into formatted tables for Word documents, enabling structured data integration with customizable headers, delimiters, and styles.
Instructions
将CSV数据转换为可用于文档的表格数据
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": {
"csvData": "<csvData>"
},
"name": "create_table_from_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csvData | Yes | CSV格式的数据 | |
| hasHeader | No | 第一行是否为表头 | |
| delimiter | No | 分隔符 | , |
| styleName | No | 表格样式名称 | minimal |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preview | Yes | ||
| success | Yes | ||
| rowCount | Yes | ||
| styleName | Yes | ||
| columnCount | Yes |