Delete Table
delete_table · Tools · Tables
Delete a table and every row in it
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
table_id | string | Yes | The table to delete: its id or slug, as list_tables gives them; the slug aliases the id and either is accepted. |
Delete Table Tool#
Deletes a table and every row in it.
When to Use#
Use this to destroy the data. If the intent is only to stop reading the rows somewhere, remove that widget or repoint that plugin instead — the table and its rows are what this takes.
Refused while something still holds a durable reference to the table: a plugin configured with it, a board widget showing it, or a workflow node naming it. Repoint or remove that first.
There is no trash for tables. Confirm with the user before calling it, and say how many rows are about to go.
Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
table_id |
string | Yes | The table's id or slug, as list_tables gives them; the slug aliases the id and either is accepted |
Returns#
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the deletion succeeded |
deleted |
boolean | Always true |
table_id |
string | The table that was deleted |
rows_deleted |
integer | How many rows went with it |
Notes#
- Refused when the table denies AI writes.
- The rows count against workspace storage until this runs; deleting the table releases it.