chaprola_alter
Modify a data file's schema by widening, narrowing, renaming, adding, or dropping fields, and transform existing data to match the new schema.
Instructions
Modify a data file's schema: widen/narrow/rename fields, add new fields, drop fields. Transforms existing data to match the new schema.
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": {
"project": "<project>",
"name": "<name>"
},
"name": "chaprola_alter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Fields to add | |
| drop | No | Field names to drop | |
| name | Yes | Data file name (without extension) | |
| alter | No | Fields to alter | |
| output | No | Output file name (default: in-place) | |
| project | Yes | Project name |