delete_dataset
Delete an entire dataset and all its rows only after previewing the impact and explicitly confirming. Prevents accidental data loss by requiring a confirmation flag.
Instructions
Delete an entire dataset and all of its rows after explicit confirmation.
Destructive: without confirm=true the tool only returns a preview (row count, column count). Call it with confirm=false first, tell the user what will be lost, and only re-invoke with confirm=true after they agree.
Args: name: Exact dataset name to delete. confirm: Must be true to actually delete (default false = preview only).
Returns: {"ok": true, "deleted": "", "rows_removed": } after confirmation, {"ok": true, "requires_confirmation": true, "preview": {...}} without.
Example: delete_dataset(name="Old JD", confirm=false)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||