delete_row
Remove a specific row from CSV data while preserving deleted information for potential restoration. This tool tracks changes and provides operation statistics for data management.
Instructions
Delete row at specified index with comprehensive tracking.
Captures deleted data for undo operations. Returns operation result with before/after statistics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row_index | Yes | Row index (0-based) to delete |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Whether operation completed successfully | |
| operation | No | Operation type identifier | delete_row |
| row_index | Yes | Index of deleted row | |
| rows_after | Yes | Row count after deletion | |
| rows_before | Yes | Row count before deletion | |
| deleted_data | Yes | Data from the deleted row |