remove_column
Deletes a column from a dataset only after explicit confirmation. Preview the column removal first, then confirm to permanently apply changes.
Instructions
Remove a column from a dataset after explicit confirmation.
Destructive: without confirm=true the tool only returns a preview of what would be dropped. Call it with confirm=false first, tell the user what will be lost, and only re-invoke with confirm=true after they agree.
Args: dataset: Exact dataset name, e.g. "Candidates". column: Column name to remove. confirm: Must be true to actually remove (default false = preview only).
Returns: {"ok": true, "dataset", "removed", "rows_updated"} after confirmation, {"ok": true, "requires_confirmation": true, "preview": {...}} without, {"ok": false, "error": ""} for unknown columns.
Example: remove_column(dataset="Candidates", column="temporary_note", confirm=false)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| column | Yes | ||
| confirm | No | ||
| dataset | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||