create_csv_at_path
Create CSV files at specified locations with custom headers and optional data for structured data storage and organization.
Instructions
Create a new CSV file at a specific path (absolute or relative).
Args:
filepath: Full path where the CSV file should be created
headers: List of column headers
data: Optional list of rows, where each row is a list of values
Returns:
Dictionary with creation results and file information
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | No | ||
filepath | Yes | ||
headers | Yes |
Input Schema (JSON Schema)
{
"properties": {
"data": {
"anyOf": [
{
"items": {
"items": {},
"type": "array"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Data"
},
"filepath": {
"title": "Filepath",
"type": "string"
},
"headers": {
"items": {
"type": "string"
},
"title": "Headers",
"type": "array"
}
},
"required": [
"filepath",
"headers"
],
"type": "object"
}