auto_resize_dimensions
Auto-resizes rows or columns in a Google Sheet to fit the content, based on specified dimension, start index, and end index.
Instructions
Auto-resize columns or rows to fit content
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_id": "<spreadsheet_id>",
"sheet_id": "<sheet_id>",
"dimension": "<dimension>",
"start_index": "<start_index>",
"end_index": "<end_index>"
},
"name": "auto_resize_dimensions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet_id | Yes | The ID of the sheet | |
| dimension | Yes | Whether to resize rows or columns | |
| end_index | Yes | Ending index (exclusive) | |
| start_index | Yes | Starting index (0-based) | |
| spreadsheet_id | Yes | The ID of the spreadsheet |