clean_data
Clean CSV datasets by removing nulls, filling missing values, dropping duplicates, standardizing columns, and converting data types.
Instructions
Perform data cleaning operations and return results.
Args: dataset_path: Path to the dataset file (CSV format) operations: List of cleaning operations - "remove_nulls", "fill_nulls", "remove_duplicates", "standardize_columns", "convert_types" output_path: Path to save cleaned dataset (optional)
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": {
"dataset_path": "<dataset_path>",
"operations": "<operations>"
},
"name": "clean_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operations | Yes | ||
| output_path | No | ||
| dataset_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |