present_bsheet_editor
Use present_bsheet_editor directly for an explicit request to show or open an existing input/output sheet, P&L, or financial statement. Provide model_name, view, and sheet_id or exact sheet_name; resolve only missing identifiers. Provides view: bsheet-editor (ui://apps/bsheet-editor) renders this tool’s result when MCP Apps are available.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
model_name | str | Yes | — | |
sheet_id | `str | None` | No | None |
sheet_name | `str | None` | No | None |
view | Literal['input', 'output'] | Yes | — | |
tab_id | str | No | '' | |
tab_metadata_only | bool | No | False | |
branch | `str | None` | No | None |
base_branch | `str | None` | No | None |
compare_ref | `str | None` | No | None |
compare_previous_run | bool | No | False | |
row_start | int | No | 0 | |
row_limit | `int | None` | No | None |
column_start | int | No | 0 | |
column_limit | `int | None` | No | None |
workspace_id | `str | None` | No | None |
expected_sha | `str | None` | No | None |
expected_sheet_commit_sha | `str | None` | No | None |
expected_run_id | `str | None` | No | None |
expected_revision_id | `str | None` | No | None |
expected_branch | `str | None` | No | None |
Returns
Section titled “Returns”Returns a structured object. Top-level fields:
model_name(string)sheet_id(string)name(string)purpose(string)attached_model(string)branch(null)latest_commit_sha(string)sha(string)row_count(integer)tab_count(integer)calculation_status(string)tabs(array<object>)calculation(object)provenance(object)generated_at(string)base_branch(null)changed_cell_count(null)compare_ref(null)tab_metadata_only(boolean)compare_state(string)staged(array)staged_count(integer)needs_recalculation(boolean)model_freshness(object)known_branches(array<string>)known_branches_truncated(boolean)header_row(null)annotation_rows(array)used_range(string)total_rows(integer)default_branch(string)workspace_id(string)sheet_commit_sha(string)presentation(object)
See the response example below for the full payload shape.
Example
Section titled “Example”Tool Call
Section titled “Tool Call”{ "name": "present_bsheet_editor", "arguments": { "model_name": "forecasts", "sheet_id": "assumptions", "view": "input", "expected_sha": "abc1234def5678901234567890abcdef12345678", "expected_sheet_commit_sha": "abc1234def5678901234567890abcdef12345678", "expected_branch": "main" }}Response
Section titled “Response”{ "model_name": "forecasts", "sheet_id": "assumptions", "name": "Assumptions", "purpose": "input", "attached_model": "revenue", "branch": null, "latest_commit_sha": "abc1234def5678901234567890abcdef12345678", "sha": "abc1234def5678901234567890abcdef12345678", "row_count": 2, "tab_count": 1, "calculation_status": "clean", "tabs": [ { "tab_id": "tab1", "name": "Sheet1", "row_count": 2, "column_count": 2, "cell_encoding": "sparse", "cells": { "A1": { "value": "Growth Rate", "formula": null, "format": null, "style": null, "number_format": null }, "B1": { "value": 0.12, "formula": null, "format": null, "style": null, "number_format": "percent" } }, "rows": [], "formatting": { "column_widths": {}, "row_heights": {}, "frozen_rows": 0, "frozen_columns": 0, "show_gridlines": true } } ], "calculation": { "engine_version": "v1", "status": "clean", "last_evaluated_at": "2026-04-28T10:00:00+00:00" }, "provenance": { "source": "user", "run_id": null, "commit_sha": "abc1234def5678901234567890abcdef12345678", "branch": null, "output_name": null, "data_hash": null }, "generated_at": "2026-04-28T10:00:00+00:00", "base_branch": null, "changed_cell_count": null, "compare_ref": null, "tab_metadata_only": false, "compare_state": "not_requested", "staged": [], "staged_count": 0, "needs_recalculation": false, "model_freshness": { "state": "fresh", "run_status": "success", "run_id": "66666666-6666-6666-6666-666666666666", "commit_sha": "abc1234def5678901234567890abcdef12345678" }, "known_branches": [ "main", "scenario/q2-hiring" ], "known_branches_truncated": false, "header_row": null, "annotation_rows": [], "used_range": "A1:B1", "total_rows": 1, "default_branch": "main", "workspace_id": "ws_acme", "sheet_commit_sha": "abc1234def5678901234567890abcdef12345678", "presentation": { "view": "input", "checked_at": "2026-04-28T10:00:00+00:00", "branch": "main", "sheet_sha": "abc1234def5678901234567890abcdef12345678", "sheet_commit_sha": "abc1234def5678901234567890abcdef12345678", "run_id": null, "revision_id": null, "run_state": "success", "model_freshness": { "state": "fresh", "run_status": "success", "run_id": "66666666-6666-6666-6666-666666666666", "commit_sha": "abc1234def5678901234567890abcdef12345678" } }}- Module:
BSheets - Requires an authenticated Bridge Town session (OAuth) or an API token.