Spreadsheet Values Batch Get

Read values from multiple Google Sheets ranges in one request.

by Google DriveRequires connected account$0.0025 per request · $0.25 per 100 requests

Example

You ask your agent

“Read cells A1 to C10 and A1 to B5 from the Plan tab of my spreadsheet.”

You get

First of 2 ranges

Range
Plan!A1:C10
Values
Task, Owner, Status
What your agent sends and gets back (JSON)

Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.

Request

{
  "tool_id": "google-drive.spreadsheet-values-batch-get",
  "input": {
    "path": {
      "spreadsheetId": "YOUR-GOOGLE-SHEETS-SPREADSHEET-ID"
    },
    "query": {
      "ranges": [
        "Plan!A1:C10",
        "Plan!A1:B5"
      ]
    }
  }
}

Response

{
  "valueRanges": [
    {
      "range": "Plan!A1:C10",
      "values": [
        [
          "Task",
          "Owner",
          "Status"
        ]
      ]
    },
    {
      "range": "Plan!A1:B5",
      "values": [
        [
          "Task",
          "Owner"
        ]
      ]
    }
  ],
  "spreadsheetId": "spreadsheet-output-id"
}

Use it with your agent

Copy the prompt and paste it into your agent, then 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 Get (tool ID: google-drive.spreadsheet-values-batch-get). Ask me for the details you need, then show me the result. Help me connect the required app account if needed.

Your agent will also help you connect your app account the first time.

No agent yet? Create your account on the web and connect one from your dashboard later.

Other tools for this job

Compare all 10 →

Questions

Is Spreadsheet Values Batch Get by Google Drive free?

Scrollport has no free tier: it costs $0.0025 per request ($0.25 per 100 requests), paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try it before adding funds.

Do I need my own Google account?

Yes. It works in the Google account you connect to Scrollport, with the access you approve. Scrollport does not provide Google accounts.

Details

About this tool

Returns up to 100 A1 or named ranges with consistent rendering options. Always one upstream request at $0.0025.

All inputs and outputs

Input

pathobject · required

Identifier path for the authorised connected-app record.

queryobject · required

Search terms used to find relevant records.

Output

spreadsheetIdstring

Identifier of the spreadsheet.

valueRangesarray
Errors and limits
  • 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.