google-sheets-values-core-openapi
Core Google Sheets API for reading, appending, updating, and batch-updating cell values. The user authorizes the target spreadsheet through Google OAuth at connection time; no credential is included. Official documentation: https://developers.google.com/workspace/sheets/api/guides/values
Connect this API to an AI agent Browse all specs
What you can do with google-sheets-values-core-openapi via MCP
Every endpoint below becomes a governed tool your AI agent (Claude, ChatGPT, or a customer-facing VX agent) can call — with scoped permissions, sandbox testing, and audit logs.
| Method | Path | Operation | Description |
|---|---|---|---|
| GET | /spreadsheets/{spreadsheetId}/values/{range} |
getSheetValues | Read a cell range |
| PUT | /spreadsheets/{spreadsheetId}/values/{range} |
updateSheetValues | Update a cell range |
| GET | /spreadsheets/{spreadsheetId}/values:batchGet |
batchGetSheetValues | Read multiple cell ranges |
| POST | /spreadsheets/{spreadsheetId}/values/{range}:append |
appendSheetValues | Append rows after a table |
| POST | /spreadsheets/{spreadsheetId}/values:batchUpdate |
batchUpdateSheetValues | Update multiple cell ranges |
Authentication
bearerAuth
Bearer token — sent as Authorization: Bearer <token>
Google OAuth access token with a Sheets scope such as spreadsheets or drive.file.
Usage guide
Getting credentials
- Sign in to a Google account and open the Google Cloud Console.
- Create or select a Google Cloud project and enable the Google Sheets API.
- Configure the OAuth consent screen and create OAuth credentials for the integration.
- Authorize access to the spreadsheets that VX Agent is allowed to use.
- When VX Agent asks for authentication, provide the Google OAuth access token through the secure connection configuration.
Never paste an OAuth token, client secret, or refresh token into the Swagger file, marketplace description, prompts, or chat messages.
How to use this API
Use the Google Sheets Values API to read, append, update, and batch-update cell values in authorized spreadsheets. It is useful for reports, lightweight CRM tables, inventory tracking, lead lists, content calendars, and internal workflow data.
A typical workflow is:
- Identify the correct
spreadsheetIdfrom the Google Sheets URL. - Identify the exact sheet name and A1 range, such as
Sheet1!A1:C20. - Use
GET /spreadsheets/{spreadsheetId}/values/{range}to read existing values before writing. - Use
GET /spreadsheets/{spreadsheetId}/values:batchGetto read multiple ranges. - Use
POST /spreadsheets/{spreadsheetId}/values/{range}:appendto add rows after an existing table. - Use
PUT /spreadsheets/{spreadsheetId}/values/{range}to update a specific range. - Use
POST /spreadsheets/{spreadsheetId}/values:batchUpdatefor coordinated updates to multiple ranges.
Use RAW when values must remain literal. Use USER_ENTERED when Google Sheets should interpret formulas, dates, and formatting as if the values were typed in the Sheets interface. Always read the target range first and verify the update response after writing.
Safety and usage notes
Appending, overwriting, or batch-updating values changes external spreadsheet data and may trigger formulas, automations, notifications, or reports. Ask for confirmation before every consequential write. Confirm the spreadsheet, sheet name, range, column order, values, and overwrite behavior.
Do not clear or overwrite an entire sheet unless the user explicitly confirms the exact scope. Use narrow ranges and small batches. Do not expose private customer, employee, financial, or operational data. Do not expose OAuth credentials.
A 403 response usually means that the connected account cannot access the spreadsheet or that the OAuth scope is insufficient. A 400 response may indicate invalid A1 notation, a missing valueInputOption, or a malformed values array.
Official documentation: Read and write cell values and Append values.
How to use this spec
- Create a free VX Agents account (sandbox tools included).
- Open the marketplace and connect “google-sheets-values-core-openapi” to an agent.
- Expose it as an MCP server for Claude/ChatGPT, or chat with it directly.