delete_bsheet_row_column
Preview and explicitly confirm deletion of exactly one row or column from an editable native-sheet tab. The dry-run confirmation token is scoped to the sheet, tab, axis, index, user, workspace, and branch.
destructive
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
model_name |
string |
Yes | — | Name of the Bridge Town model that owns the sheet. |
sheet_id |
string |
Yes | — | Sheet identifier, as returned by list_bsheets. |
tab_id |
string |
Yes | — | Tab identifier to change. |
axis |
one of: row, column |
Yes | — | Axis to delete. |
index |
integer |
Yes | — | Zero-based row or column to remove. |
dry_run |
boolean |
No | True |
Preview and return a confirmation token instead of deleting. |
confirmation_token |
string |
No | None |
Token returned by the dry run. |
expected_sha |
string |
No | '' |
Expected sheet blob SHA-1 for optimistic concurrency. |
commit_message |
string |
No | '' |
Optional Git commit message. |
branch |
string |
No | None |
Scenario branch; null uses the sheet default. |
workspace_id |
string |
No | None |
Returns
Section titled “Returns”Returns a structured object. Top-level fields:
model_name(string)sheet_id(string)tab_id(string)branch(string)axis(string)index(integer)row_count_before(integer)column_count_before(integer)row_count_after(integer)column_count_after(integer)dry_run(boolean)confirmation_token(string)deleted(boolean)commit_sha(null)sha(null)calculation_status(null)message(string)workspace_id(string)
See the response example below for the full payload shape.
Example
Section titled “Example”Tool Call
Section titled “Tool Call”{ "name": "delete_bsheet_row_column", "arguments": { "model_name": "forecasts", "sheet_id": "assumptions", "tab_id": "tab1", "axis": "row", "index": 3, "dry_run": true }}Response
Section titled “Response”{ "model_name": "forecasts", "sheet_id": "assumptions", "tab_id": "tab1", "branch": "main", "axis": "row", "index": 3, "row_count_before": 100, "column_count_before": 26, "row_count_after": 99, "column_count_after": 26, "dry_run": true, "confirmation_token": "<signed-confirmation-token>", "deleted": false, "commit_sha": null, "sha": null, "calculation_status": null, "message": "Dry run: delete row 3 from tab 'tab1'; pass dry_run=False with confirmation_token to commit.", "workspace_id": "dddddddd-dddd-dddd-dddd-dddddddddddd"}- Module:
BSheets - Requires an authenticated Bridge Town session (OAuth) or an API token.
- Deletion is two-phase: call with
dry_run: true, then repeat with the returnedconfirmation_tokenanddry_run: false.