update_row
Modify specific columns in a CSV row with selective updates, tracking changes and returning previous and new values for updated columns.
Instructions
Update specific columns in row with selective updates.
Supports partial column updates with change tracking. Returns old/new values for updated columns.
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": {
"row_index": "<row_index>",
"data": "<data>"
},
"name": "update_row"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row_index | Yes | Row index (0-based) to update | |
| data | Yes | Column updates as dict mapping column names to values, or JSON string |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Whether operation completed successfully | |
| operation | No | Operation type identifier | update_row |
| row_index | Yes | Index of updated row | |
| new_values | Yes | New values for updated columns | |
| old_values | Yes | Previous values for updated columns | |
| changes_made | Yes | Number of columns that were changed | |
| columns_updated | Yes | Names of columns that were updated |