Skip to content

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.

NameTypeRequiredDefaultDescription
model_namestrYes—
sheet_id`strNone`NoNone
sheet_name`strNone`NoNone
viewLiteral['input', 'output']Yes—
tab_idstrNo''
tab_metadata_onlyboolNoFalse
branch`strNone`NoNone
base_branch`strNone`NoNone
compare_ref`strNone`NoNone
compare_previous_runboolNoFalse
row_startintNo0
row_limit`intNone`NoNone
column_startintNo0
column_limit`intNone`NoNone
workspace_id`strNone`NoNone
expected_sha`strNone`NoNone
expected_sheet_commit_sha`strNone`NoNone
expected_run_id`strNone`NoNone
expected_revision_id`strNone`NoNone
expected_branch`strNone`NoNone

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.

{
"name": "present_bsheet_editor",
"arguments": {
"model_name": "forecasts",
"sheet_id": "assumptions",
"view": "input",
"expected_sha": "abc1234def5678901234567890abcdef12345678",
"expected_sheet_commit_sha": "abc1234def5678901234567890abcdef12345678",
"expected_branch": "main"
}
}
{
"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.