Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

ReadSheet

Reads data from a specified range in a Google Sheets spreadsheet.

Task version: 1.1.0

Required Frends version: 5.7+

Required .NET version: 8.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

SpreadsheetId : String

The ID of the spreadsheet.

Default: - Example: abcdef12345...98765ABC

Range : String

The range of cells to read from the sheet, in A1 notation.

Default: Sheet1!A1:C10 Example: Sheet1!A1:C10

Name
Description

🗝ServiceAccountJson : String

JSON string containing service account credentials.

Default: - Example: { "type": "service_account", "project_id": ..., "private_key_id": ... }

Name
Description

ThrowErrorOnFailure : Boolean

Whether to throw an error on failure.

Default: True Example: false

ErrorMessageOnFailure : String

Overrides the error message on failure.

Default: - Example: Custom error message

Task Result

Name
Description

Success : Boolean

Indicates if the task completed successfully. Example: true

Data : Object

Sheet cell data read from the specified range. Example: [["Value1", "Value2"],["Value3", "Value4"]]

Range : String

Range that was read from the sheet. Example: Sheet1!A1:B2

MajorDimension : String

Major dimension of the returned data (ROWS or COLUMNS). Example: ROWS

ETag : String

ETag of the response. Example: "someEtag"

Error : Error

Error that occurred during task execution. Example: object { string Message, Exception AdditionalInfo }

Error.Message : String

Summary of the error. Example: Unable to access Google Sheets.

Error.AdditionalInfo : Exception

Additional information about the error, if any. Example: Exception object

Task Changelog

Changelog for Task Frends.GoogleSheets.ReadSheet.

[1.1.0] - 2026-07-20

Changed

  • Added missing documentation examples to result properties (Data, Range, MajorDimension, ETag).

  • Updated copyright information in project metadata.

[1.0.0] - 2025-09-10

Changed

  • Initial implementation

Last updated

Was this helpful?