Create New Spreadsheet
create_spreadsheetCreate a new Google Spreadsheet with a specified title and optional sheet names. Supports multi-user OAuth for Google Sheets access.
Instructions
Create a new Google Spreadsheet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | The title of the new spreadsheet. Required. | |
| sheet_names | No | List of sheet names to create. Can be Python list ["Sheet1", "Sheet2"] or JSON string '["Sheet1", "Sheet2"]'. If not provided, creates one sheet with default name. | |
| user_google_email | No | The user's Google email address for Sheets access. If None, uses the current authenticated user from FastMCP context (auto-injected by middleware). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error message if operation failed | |
| title | Yes | Title of the created spreadsheet | |
| sheets | No | Names of created sheets | |
| message | Yes | Success or error message | |
| success | Yes | Whether the creation succeeded | |
| spreadsheetId | Yes | Unique identifier for the created spreadsheet | |
| spreadsheetUrl | Yes | Web URL for the created spreadsheet |