create_spreadsheet_in_folder
Create a new empty Google Sheet in a Drive folder — for light builds, or when you have no local filesystem.
writeGoogle Sheets, Docs & Drive
For a multi-tab workbook (more than ~15 write/format calls), build an .xlsx locally and import it in one call with start_drive_upload (mimeType = the xlsx type, convertTo = 'application/vnd.google-apps.spreadsheet'); formulas, formats, notes, frozen panes, dropdowns and charts survive the conversion.
Call it
In an AI client (MCP)
{
"name": "create_spreadsheet_in_folder",
"arguments": {
"title": "<title>",
"folderId": "<folderId>"
}
}From code (Tool API)
curl -X POST https://api.sellersheetai.com/api/v1/tools/create_spreadsheet_in_folder \
-H "Authorization: Bearer $SELLERSHEET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"<title>","folderId":"<folderId>"}'Early access — the Tool API is open on request, contact us.
Arguments
| Name | Type | Description |
|---|---|---|
titlerequired | string | Spreadsheet title. |
folderIdrequired | string | Target Drive folder ID. |
Result
Every tool answers {notification, data, human_action}; data carries:
spreadsheetId— The new spreadsheet ID.url— Direct URL to the spreadsheet.
Example
create_spreadsheet_in_folder(title="Store Reports", folderId="1ABC...")