readCellFormat
Reads cell formatting, style, and dropdown validation for a bounded range, returning a readHandle that authorizes later format overwrites or validation changes in that same range.
Instructions
Reads the formatting/style and dropdown validation of cells in a given bounded range. On modern runtimes its readHandle authorizes a later formatCells, setDropdownValidation, or copyFormatting destination overwrite in that same range.
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": {
"spreadsheetId": "<spreadsheetId>",
"range": "<range>"
},
"name": "readCellFormat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | A1 notation range to read formatting from (e.g., "Sheet1!A1:D5" or "A1:B2"). | |
| spreadsheetId | Yes | The spreadsheet ID — the long string between /d/ and /edit in a Google Sheets URL. |