# Spreadsheet Values Batch Update

Google Drive

Replace values in multiple Google Sheets ranges.

## Use this tool with your AI agent

1. Copy the prompt
2. Paste it into your agent
3. Tell it what you need

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use Spreadsheet Values Batch Update (tool ID: google-drive.spreadsheet-values-batch-update). Ask me for the details you need, then show me the result. Help me connect the required app account if needed.

**Already connected:** Your agent can use that connection.

**New user:** Your agent will guide you through setup, sign-in and authorisation.

This tool also needs you to connect your app account.

Connect your first agent to receive $1 trial credit.

**Job:** [Read and update Google Sheets](https://scrollport.com/tools/google-sheets-mcp)

**Current price:** $0.0025/request

**Availability:** Requires connected account

## Tool details

**About this tool**

Writes up to 100 value ranges with one input interpretation and optional returned values. Always one upstream request at $0.0025.

**Inputs and outputs**

### Input

`body` object · required

Bounded request body sent to the connected application.

`path` object · required

Identifier path for the authorised connected-app record.

### Output

`spreadsheetId` string

Returned spreadsheet id value.

`totalUpdatedCells` number

Returned total updated cells value.

`totalUpdatedColumns` number

Returned total updated columns value.

`totalUpdatedRows` number

Returned total updated rows value.

**Example request and output**

Inspect returns this reviewed example, its estimated cost and the current input schema. Run calculates the estimate for your actual input.

### Request

```
{
  "tool_id": "google-drive.spreadsheet-values-batch-update",
  "input": {
    "body": {
      "data": [
        {
          "range": "Plan!A3:C3",
          "values": [
            [
              1,
              2,
              3
            ]
          ]
        }
      ],
      "valueInputOption": "RAW"
    },
    "path": {
      "spreadsheetId": "YOUR-GOOGLE-SHEETS-SPREADSHEET-ID"
    }
  }
}
```

### Output

```
{
  "spreadsheetId": "spreadsheet-output-id",
  "totalUpdatedRows": 1,
  "totalUpdatedCells": 3,
  "totalUpdatedColumns": 3
}
```

**Errors and limitations**

- `connection_required`: This capability acts on the connected Google Workspace, which is not available yet.Open connect_url, approve Google Drive access, then retry this run unchanged.

---

Canonical page: https://scrollport.com/tools/providers/google-drive/spreadsheet-values-batch-update
