Create a Google spreadsheet
google_sheets_createCreates a new Google spreadsheet in the account's Drive root with a specified title and optional tabs, returning its ID, URL, and tab names for immediate use.
Instructions
Create a new Google spreadsheet in the account's Drive root, owned by the account, with the given title and, when tabs is given, those tabs in order (otherwise Google adds one tab, Sheet1). The result gives the new spreadsheet's id, its URL and its tabs. The new spreadsheet is visible only to the account until it is shared. It is not idempotent: calling it twice creates two spreadsheets. Use google_sheets_tab_add to add a tab to an existing spreadsheet and google_sheets_append or google_sheets_edit to fill it. account is needed when several accounts are set up.
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": {
"title": "<title>"
},
"name": "google_sheets_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabs | No | The titles of the tabs to start with, in order. Left out, Google adds one tab, `Sheet1`. | |
| title | Yes | The new spreadsheet's title. | |
| account | No | The account's label. Left out, the only account is used; with several accounts, the call fails and lists them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| tabs | Yes | ||
| title | Yes | ||
| spreadsheet_id | Yes |