add_row
Add new data rows to CSV files by specifying column names and values. This tool inserts records into existing CSV datasets for data management and updates.
Instructions
Add a new row to the CSV file.
Args:
filename: Name of the CSV file
row_data: Dictionary mapping column names to values
Returns:
Dictionary with addition results
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filename | Yes | ||
row_data | Yes |
Input Schema (JSON Schema)
{
"properties": {
"filename": {
"title": "Filename",
"type": "string"
},
"row_data": {
"additionalProperties": true,
"title": "Row Data",
"type": "object"
}
},
"required": [
"filename",
"row_data"
],
"type": "object"
}