insert_sheet_rows_cols
Insert rows or columns in a sheet.
writeGoogle Sheets, Docs & Drive
Call it
In an AI client (MCP)
{
"name": "insert_sheet_rows_cols",
"arguments": {
"spreadsheet_id": "<spreadsheet_id>",
"sheet_name": "<sheet_name>",
"dimension": "<dimension>",
"start_index": 1,
"end_index": 1
}
}From code (Tool API)
curl -X POST https://api.sellersheetai.com/api/v1/tools/insert_sheet_rows_cols \
-H "Authorization: Bearer $SELLERSHEET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"spreadsheet_id":"<spreadsheet_id>","sheet_name":"<sheet_name>","dimension":"<dimension>","start_index":1,"end_index":1}'Early access — the Tool API is open on request, contact us.
Arguments
| Name | Type | Description |
|---|---|---|
spreadsheet_idrequired | string | the spreadsheet ID (from its URL or get_sheet_metadata). |
sheet_namerequired | string | the tab name. |
dimensionrequired | string | 'ROWS' or 'COLUMNS'. |
start_indexrequired | integer | Start index (0-based). |
end_indexrequired | integer | End index (exclusive). |
Result
Every tool answers {notification, data, human_action}; data carries:
- Success confirmation.
Example
insert_sheet_rows_cols("1ABC...", "Sheet1", "ROWS", 5, 10) # Insert 5 rows at index 5