set_dimension_size
Resize a band of columns or rows to a specific pixel size by providing start and end indices in a Google Sheet.
Instructions
Set a fixed pixel size for a band of columns or rows.
dimension: COLUMNS or ROWS. Indices are zero-based and half-open
(start_index=0, end_index=3 covers the first three columns/rows).
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": "<sheet>",
"dimension": "<dimension>",
"start_index": "<start_index>",
"end_index": "<end_index>",
"pixel_size": "<pixel_size>"
},
"name": "set_dimension_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | Yes | ||
| dimension | Yes | ||
| end_index | Yes | ||
| pixel_size | Yes | ||
| start_index | Yes | ||
| spreadsheet_id | Yes |