add_sheet_tab
Add a new tab to the spreadsheet.
writeGoogle Sheets, Docs & Drive
Call it
In an AI client (MCP)
{
"name": "add_sheet_tab",
"arguments": {
"spreadsheet_id": "<spreadsheet_id>",
"sheet_name": "<sheet_name>"
}
}From code (Tool API)
curl -X POST https://api.sellersheetai.com/api/v1/tools/add_sheet_tab \
-H "Authorization: Bearer $SELLERSHEET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"spreadsheet_id":"<spreadsheet_id>","sheet_name":"<sheet_name>"}'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. |
Result
Every tool answers {notification, data, human_action}; data carries:
data.sheetId— the new tab's integer id (what sheet_batch_update takes).data.sheetName— its name.
Example
add_sheet_tab("1ABC...", "New Tab")