Google Sheets

Read selected spreadsheet metadata and one explicitly bounded cell range.

2 implemented operations

connector.yaml
values.readRead one finite A1 rectangle in columns A-Z and rows 1-1000, using an explicit value rendering mode.spreadsheets.read
google/sheets values.readread#
  • LocalReadyThe runtime sends the operation's declared HTTP requests.
Runx scope
spreadsheets.read
Target
{"$concat":["https://sheets.googleapis.com/v4/spreadsheets/",{"$argument":"/spreadsheet_id"}]}
Credentials
Any of access_token
Local implementation
Declared HTTP requests: sheets.googleapis.com
Inputs
Field and constraintsType / valuesRequired
rangePattern: ^(?:[A-Za-z_][A-Za-z0-9_ ]*|'(?:[^'\r\n]|'')+')![A-Z](?:[1-9][0-9]{0,2}|1000):[A-Z](?:[1-9][0-9]{0,2}|1000)$Min. 1 characterMax. 512 charactersstringYes
spreadsheet_idPattern: ^[A-Za-z0-9_-]+$Min. 1 characterMax. 128 charactersstringYes
value_render_option"FORMATTED_VALUE" · "UNFORMATTED_VALUE" · "FORMULA"Yes

Required fields apply within their containing object. Unlisted fields are rejected.

Full input schema
{
  "type": "object",
  "required": [
    "spreadsheet_id",
    "range",
    "value_render_option"
  ],
  "properties": {
    "range": {
      "type": "string",
      "pattern": "^(?:[A-Za-z_][A-Za-z0-9_ ]*|'(?:[^'\\r\\n]|'')+')![A-Z](?:[1-9][0-9]{0,2}|1000):[A-Z](?:[1-9][0-9]{0,2}|1000)$",
      "maxLength": 512,
      "minLength": 1
    },
    "spreadsheet_id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "maxLength": 128,
      "minLength": 1
    },
    "value_render_option": {
      "enum": [
        "FORMATTED_VALUE",
        "UNFORMATTED_VALUE",
        "FORMULA"
      ]
    }
  },
  "additionalProperties": false
}

Result fields values

Operation digest sha256:40c3a752b1d6dcd257221463d238c0b46a967f1790250941b68b29e5376a4ff2Implementation sha256:a648ba59e353da9198ce8cf90e66299f2060f2c494ad81ff89e6ffa7ffc8cd10

spreadsheet.readRead spreadsheet and sheet properties without cell data; file discovery remains a Drive operation.spreadsheets.read
google/sheets spreadsheet.readread#
  • LocalReadyThe runtime sends the operation's declared HTTP requests.
Runx scope
spreadsheets.read
Target
{"$concat":["https://sheets.googleapis.com/v4/spreadsheets/",{"$argument":"/spreadsheet_id"}]}
Credentials
Any of access_token
Local implementation
Declared HTTP requests: sheets.googleapis.com
Inputs
Field and constraintsType / valuesRequired
spreadsheet_idPattern: ^[A-Za-z0-9_-]+$Min. 1 characterMax. 128 charactersstringYes

Required fields apply within their containing object. Unlisted fields are rejected.

Full input schema
{
  "type": "object",
  "required": [
    "spreadsheet_id"
  ],
  "properties": {
    "spreadsheet_id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "maxLength": 128,
      "minLength": 1
    }
  },
  "additionalProperties": false
}

Result fields spreadsheet

Operation digest sha256:0b13c541bd5ef8002a1c0268ff5ee58ae22af6207dacb6b63adf8cde02deb0afImplementation sha256:1cd665478e5bdc84a19827222111074515105cbd2641baf2c0ffd9a0dc50f57c

Authentication

Commands here are for runx 0.11.1.

Google Sheets accepts a stored credential.

Stored credential access_token
A oauth2 with one field: access_token (Google OAuth access token with Sheets read access). Sent only to sheets.googleapis.com. Supply it through standard input in the project where the skill runs; Runx stores the profile and selects it for this connector.
runx connector use google/sheets

Authentication methods describe what the provider requires. They do not imply Runx supports every way the provider authenticates, and they do not grant access to your account.

Permissions

Each operation requires every Runx scope it declares. The account or key behind an instance must also reach the target on Google Sheets’s side; setting one up adds no Google Sheets permissions.

spreadsheets.read
values.read, spreadsheet.read

A stored credential may do everything its scopes allow. Add --scope to runx connector use --credential to narrow it.