delete_table_column
Delete a column and every value in it. The primary column (the row title) cannot be deleted.
Destructive. confirm_name must equal the column’s exact name. In the
in-product agent this tool opens the approval modal.
Parameters#
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
table_id | string | yes | The table id | |
column_id | string | yes | The column id from get_table | |
confirm_name | string | yes | The column’s exact name, as confirmation |
Returns#
The table schema after the delete, plus deleted_column: {id, name, key}.
Errors#
error_type | When |
|---|---|
auth_error | Missing / invalid API key |
unknown_column | column_id is not on this table |
confirmation_required | confirm_name does not match the column name |
invalid_request | The primary or a system column |
not_found | Unknown or platform-managed table |