write_csv
Write tabular data to a CSV file, supporting custom delimiters. Define file path and data rows to generate the output.
Instructions
Write data to a CSV file.
Args: file_path: Path for the output CSV file data: List of rows, each row is a list of values delimiter: Column delimiter (default comma)
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": {
"file_path": "<file_path>",
"data": "<data>"
},
"name": "write_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| delimiter | No | , | |
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |