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.

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

bodyobject · required

Bounded request body sent to the connected application.

pathobject · required

Identifier path for the authorised connected-app record.

Output

spreadsheetIdstring

Returned spreadsheet id value.

totalUpdatedCellsnumber

Returned total updated cells value.

totalUpdatedColumnsnumber

Returned total updated columns value.

totalUpdatedRowsnumber

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.