insert_dimension
Add rows or columns to a Google Sheet at a specified position, with control over the number of rows or columns inserted.
Instructions
Insert columns or 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_id": "<sheet_id>",
"dimension": "<dimension>",
"start_index": "<start_index>",
"end_index": "<end_index>"
},
"name": "insert_dimension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet_id | Yes | The ID of the sheet | |
| dimension | Yes | Whether to insert rows or columns | |
| end_index | Yes | Ending index (exclusive) - number of rows/columns to insert | |
| start_index | Yes | Starting index (0-based) where to insert | |
| spreadsheet_id | Yes | The ID of the spreadsheet |