Describe a spreadsheet
sheets_describeDescribes a spreadsheet's structure—tabs, used ranges, frozen rows/columns, named and protected ranges, charts, and conditional formats—before reads or edits.
Instructions
Structure of a spreadsheet with no cell data: tabs with sheetId, index, allocated and USED ranges, frozen rows/columns, named ranges, protected ranges, and chart/conditional-format counts. Call this before any read or structural edit — the used range is what lets a read target A1:G412 instead of A:ZZ.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"spreadsheet": "<spreadsheet>"
},
"name": "sheets_describe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Google account to act as. Optional when one account is authorised or a default is set; required otherwise. | |
| spreadsheet | Yes | Spreadsheet URL or file id. Both accepted; a URL has its id extracted. | |
| maxProbeCells | No | Skip the used-range probe when the allocated grid exceeds this many cells. Default 2000000. | |
| includeUsedRanges | No | Probe each tab for its populated rectangle (default true). Set false on very large spreadsheets to skip the probe. |