remove_dataset_field
Remove a data-bound field from a dataset, refusing deletion if the field is still referenced unless force is enabled. Use after refresh_dataset_fields to clean up orphaned fields.
Instructions
Remove a data-bound by name (one with ). Symmetric counterpart to remove_calculated_field. Refuses on calculated fields (use remove_calculated_field instead) and on still-referenced fields (any expression containing Fields!.Value / .IsMissing / .Count). Pass force=True to delete anyway. Closes the cookbook flow: refresh_dataset_fields lists orphans, remove_dataset_field drops them. Returns {dataset, removed, kind: 'DataBoundField'}.
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": {
"path": "<path>",
"dataset_name": "<dataset_name>",
"field_name": "<field_name>"
},
"name": "remove_dataset_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| force | No | Default false: refuse if the field is still referenced anywhere. true: delete anyway (prefer fixing the references first). | |
| field_name | Yes | ||
| dataset_name | Yes |