Inspect model
inspect_modelSummarize a workbook session's sheet indexes, defined names, calculation settings, and activity counts to navigate the model before reading or editing it.
Instructions
Summarize a session's structure: each sheet's index, name and used rows and columns, every defined name with its target, the iterative-calc settings, and counts of cells, memory, edit events and commits. Use it to find your way around a workbook before reading or editing it: sheet indexes for rename_sheet, delete_sheet and define_variable, names for get_outputs and set_inputs. include_edges adds every formula dependency edge, which is large on big models; to follow the chain from one cell use trace_dependencies instead. For errors, plugs and broken references use audit_workbook.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID returned by create_session (list_sessions shows the open ones) | |
| include_edges | No | Also return every formula dependency edge (default false; large on big models) |