---
title: "Google Sheets"
description: "Read spreadsheet metadata and A1 ranges, fetch multiple ranges, create spreadsheets, update or append values, clear ranges and apply batch spreadsheet changes. Commands use Google’s official Sheets v4 API and preserve ce"
---

> Documentation Index
> Fetch the complete documentation index at: https://help.tooluse.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Sheets

<p>Read spreadsheet metadata and A1 ranges, fetch multiple ranges, create spreadsheets, update or append values, clear ranges and apply batch spreadsheet changes. Commands use Google’s official Sheets v4 API and preserve cell types and rendering options. Only the selected command and explicit ranges are sent; no spreadsheet or next-page scan runs automatically. Read-only selections request spreadsheet read access; selected writes require renewed write authorization.</p>

<details data-command-index><summary>What you can do (17)</summary>
<h2>What you can do</h2>
<p>Available commands: 17 (4 read, 13 write). Enable only the commands your application needs.</p>
<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Command</th>
<th>Effect</th>
</tr>
</thead>
<tbody><tr>
<td><a href="https://help.tooluse.net/integrations/google-sheets#command-google-sheets-sheets-spreadsheets-batchupdate">Applies one or more updates to the spreadsheet</a> — <code>google-sheets.sheets.spreadsheets.batchupdate</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/google-sheets#command-google-sheets-sheets-spreadsheets-create">Creates a spreadsheet, returning the newly created spreadsheet.</a> — <code>google-sheets.sheets.spreadsheets.create</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/google-sheets#command-google-sheets-sheets-spreadsheets-get">Returns the spreadsheet at the given ID</a> — <code>google-sheets.sheets.spreadsheets.get</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/google-sheets#command-google-sheets-sheets-spreadsheets-getbydatafilter">Returns the spreadsheet at the given ID</a> — <code>google-sheets.sheets.spreadsheets.getbydatafilter</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/google-sheets#command-google-sheets-sheets-spreadsheets-developermetadata-get">Returns the developer metadata with the specified ID</a> — <code>google-sheets.sheets.spreadsheets.developermetadata.get</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/google-sheets#command-google-sheets-sheets-spreadsheets-developermetadata-search">Returns all developer metadata matching the specified DataFilter</a> — <code>google-sheets.sheets.spreadsheets.developermetadata.search</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/google-sheets#command-google-sheets-sheets-spreadsheets-sheets-copyto">Copies a single sheet from a spreadsheet to another spreadsheet</a> — <code>google-sheets.sheets.spreadsheets.sheets.copyto</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/google-sheets#command-google-sheets-sheets-spreadsheets-values-append">Appends values to a spreadsheet</a> — <code>google-sheets.sheets.spreadsheets.values.append</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/google-sheets#command-google-sheets-sheets-spreadsheets-values-batchclear">Clears one or more ranges of values from a spreadsheet</a> — <code>google-sheets.sheets.spreadsheets.values.batchclear</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/google-sheets#command-google-sheets-sheets-spreadsheets-values-batchclearbydatafilter">Clears one or more ranges of values from a spreadsheet</a> — <code>google-sheets.sheets.spreadsheets.values.batchclearbydatafilter</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/google-sheets#command-google-sheets-sheets-spreadsheets-values-batchget">Returns one or more ranges of values from a spreadsheet</a> — <code>google-sheets.sheets.spreadsheets.values.batchget</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/google-sheets#command-google-sheets-sheets-spreadsheets-values-batchgetbydatafilter">Returns one or more ranges of values that match the specified data filters</a> — <code>google-sheets.sheets.spreadsheets.values.batchgetbydatafilter</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/google-sheets#command-google-sheets-sheets-spreadsheets-values-batchupdate">Sets values in one or more ranges of a spreadsheet</a> — <code>google-sheets.sheets.spreadsheets.values.batchupdate</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/google-sheets#command-google-sheets-sheets-spreadsheets-values-batchupdatebydatafilter">Sets values in one or more ranges of a spreadsheet</a> — <code>google-sheets.sheets.spreadsheets.values.batchupdatebydatafilter</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/google-sheets#command-google-sheets-sheets-spreadsheets-values-clear">Clears values from a spreadsheet</a> — <code>google-sheets.sheets.spreadsheets.values.clear</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/google-sheets#command-google-sheets-sheets-spreadsheets-values-get">Returns a range of values from a spreadsheet</a> — <code>google-sheets.sheets.spreadsheets.values.get</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/google-sheets#command-google-sheets-sheets-spreadsheets-values-update">Sets values in a range of a spreadsheet</a> — <code>google-sheets.sheets.spreadsheets.values.update</code></td>
<td>Write</td>
</tr>
</tbody></table>
</div>
</details>
<h2>Connect and use</h2>

<p><a href="https://www.tooluse.net/tools/integrations/google-sheets">Connect and use</a></p>
<p>Open the integration&#39;s connection form to check the available credential source. The source has not been resolved for this documentation export. The instructions below apply when using your own provider account.</p>
<h2>Get your provider credentials</h2>
<p>Follow these steps for Google Sheets, then enter the issued values in the connection form below.</p>
<ol>
<li>In an existing Google Cloud project, enable Google Sheets API and reuse or create a Web application OAuth client. Register <a href="https://api.tooluse.net/v1/oauth/callback">https://api.tooluse.net/v1/oauth/callback</a> as an authorized redirect URI, or enter your separately registered redirect URI in this connection. Fill Google OAuth client ID and secret, choose commands, save, then Sign in to provider. Read commands request spreadsheets.readonly; enabling writes requires fresh consent for spreadsheets access. Consent-screen publishing and Google verification may be required. An existing access token is optional and expires; an API key alone cannot authorize private spreadsheets. Use spreadsheet IDs and explicit A1 ranges, then create a separate Tooluse.net API key.</li>
</ol>
<p><a href="https://developers.google.com/workspace/sheets/api/quickstart/js">Official credential setup</a></p>
<h2>Where to enter credentials</h2>
<p>In the integration page, sign in, choose your workspace and open Connect. If a <strong>Credentials</strong> choice is shown, select <strong>Use my credentials</strong>. Fill the following connection fields and save. Provider credentials belong in this form, never in an MCP configuration or tool input.</p>
<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Connection field</th>
<th>Requirement</th>
</tr>
</thead>
<tbody><tr>
<td>Google access token (optional with OAuth)</td>
<td>Optional</td>
</tr>
<tr>
<td>Google OAuth client ID</td>
<td>Optional</td>
</tr>
<tr>
<td>Google OAuth client secret</td>
<td>Optional</td>
</tr>
<tr>
<td>Registered OAuth redirect URI (optional)</td>
<td>Optional</td>
</tr>
<tr>
<td>Return URL after authorization</td>
<td>Optional</td>
</tr>
</tbody></table>
</div><p>Open API keys and create a Tooluse.net key for the enabled commands.</p>
<p>Set TOOLUSE_API_KEY in your client and use the shared MCP configuration.</p>
<p><a href="https://help.tooluse.net/clients">Configure Claude Code, Codex or Cursor once</a></p>

<h2>Permissions and results</h2>

<p>If you have more than one workspace, check the selected workspace in the connection or API-key dialog before saving. Roles, enabled commands, expiry and revocation use Tooluse.net&#39;s existing permissions. Disabling a connection or revoking a key immediately prevents new calls.</p>

<p>Send one Claude tool_use block per request. Keep the same Idempotency-Key when retrying the same request; use a new key for a new call. The response includes the shared Tooluse.net receipt and Claude tool_result. Check both HTTP status and the returned tool result before treating a call as successful.</p>

<p>Your connection&#39;s daily allowance and key permissions also apply. Adding a connection does not make a provider request.</p>

<p>Calls return the shared execution receipt and a Claude tool_result. Provider output varies by operation; consult the provider documentation for its response fields. Unconfirmed calls should be checked before retrying.</p>

<h2>Call from your client</h2>

<p>Use the shared MCP configuration. Refresh your client&#39;s tool list after saving the connection or changing key permissions, then call the returned tool name with the example input below.</p>

<p><a href="https://help.tooluse.net/clients">Configure Claude Code, Codex or Cursor once</a></p>

<h2>Discover your enabled tools</h2>

<p>List permitted tools in Claude format. Read every page using page and size (maximum 100) until all results have been received. Use the returned name, not a catalog capability identifier, in the tool_use block.</p>

<pre><code class="language-bash">curl 'https://api.tooluse.net/v1/tools' \
  -H "Authorization: Bearer $TOOLUSE_API_KEY"
</code></pre>

<p>Find this command in the tool list permitted by your key. Replace svc_FROM_YOUR_TOOL_LIST with its returned name. Use a new Idempotency-Key for each new call and retain it when retrying that same call.</p>

<h2>HTTP call</h2>

<pre><code class="language-bash">curl 'https://api.tooluse.net/v1/tool-calls' \
  -H "Authorization: Bearer $TOOLUSE_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: replace-with-a-new-call-id' \
  --data '{
  "type": "tool_use",
  "id": "toolu_example",
  "name": "svc_FROM_YOUR_TOOL_LIST",
  "input": {
    "path": {
      "spreadsheetId": "example"
    }
  }
}'
</code></pre>

<p>Send one Claude tool_use block per request. Keep the same Idempotency-Key when retrying the same request; use a new key for a new call. The response includes the shared Tooluse.net receipt and Claude tool_result. Check both HTTP status and the returned tool result before treating a call as successful.</p>

<h2>Commands</h2>

<details id="command-google-sheets-sheets-spreadsheets-batchupdate">
<summary><span>Applies one or more updates to the spreadsheet — <code>google-<wbr>sheets.<wbr>sheets.<wbr>spreadsheets.<wbr>batchupdate</code></span></summary>
<p>Run <strong>Applies one or more updates to the spreadsheet</strong> with Google Sheets. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/google-sheets?command=google-sheets.sheets.spreadsheets.batchupdate">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.$.xgafv</code></td>
<td>string</td>
<td>Optional</td>
<td>V1 error format.</td>
<td><code>enum: [&quot;1&quot;,&quot;2&quot;]</code></td>
</tr>
<tr>
<td><code>query.fields</code></td>
<td>string</td>
<td>Optional</td>
<td>Selector specifying which fields to include in a partial response.</td>
<td></td>
</tr>
<tr>
<td><code>query.prettyPrint</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Returns response with indentations and line breaks.</td>
<td><code>default: true</code></td>
</tr>
<tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.spreadsheetId</code></td>
<td>string</td>
<td>Required</td>
<td>The spreadsheet to apply the updates to.</td>
<td></td>
</tr>
<tr>
<td><code>body</code></td>
<td>—</td>
<td>Required</td>
<td></td>
<td><code>$ref: &quot;#/definitions/BatchUpdateSpreadsheetRequest&quot;</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/google-sheets/commands/google-sheets.sheets.spreadsheets.batchupdate">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "spreadsheetId": "example"
  },
  "body": {}
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-google-sheets-sheets-spreadsheets-create">
<summary><span>Creates a spreadsheet, returning the newly created spreadsheet. — <code>google-<wbr>sheets.<wbr>sheets.<wbr>spreadsheets.<wbr>create</code></span></summary>
<p>Run <strong>Creates a spreadsheet, returning the newly created spreadsheet.</strong> with Google Sheets. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/google-sheets?command=google-sheets.sheets.spreadsheets.create">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.$.xgafv</code></td>
<td>string</td>
<td>Optional</td>
<td>V1 error format.</td>
<td><code>enum: [&quot;1&quot;,&quot;2&quot;]</code></td>
</tr>
<tr>
<td><code>query.fields</code></td>
<td>string</td>
<td>Optional</td>
<td>Selector specifying which fields to include in a partial response.</td>
<td></td>
</tr>
<tr>
<td><code>query.prettyPrint</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Returns response with indentations and line breaks.</td>
<td><code>default: true</code></td>
</tr>
<tr>
<td><code>body</code></td>
<td>—</td>
<td>Required</td>
<td></td>
<td><code>$ref: &quot;#/definitions/Spreadsheet&quot;</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/google-sheets/commands/google-sheets.sheets.spreadsheets.create">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "body": {}
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-google-sheets-sheets-spreadsheets-get">
<summary><span>Returns the spreadsheet at the given ID — <code>google-<wbr>sheets.<wbr>sheets.<wbr>spreadsheets.<wbr>get</code></span></summary>
<p>Run <strong>Returns the spreadsheet at the given ID</strong> with Google Sheets. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/google-sheets?command=google-sheets.sheets.spreadsheets.get">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.$.xgafv</code></td>
<td>string</td>
<td>Optional</td>
<td>V1 error format.</td>
<td><code>enum: [&quot;1&quot;,&quot;2&quot;]</code></td>
</tr>
<tr>
<td><code>query.fields</code></td>
<td>string</td>
<td>Optional</td>
<td>Selector specifying which fields to include in a partial response.</td>
<td></td>
</tr>
<tr>
<td><code>query.prettyPrint</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Returns response with indentations and line breaks.</td>
<td><code>default: true</code></td>
</tr>
<tr>
<td><code>query.commentsViewMode</code></td>
<td>string</td>
<td>Optional</td>
<td>The comments view mode to apply to the spreadsheet. This allows viewing the spreadsheet with comments omitted or included. If one is not specified, COMMENTS_VIEW_MODE_OMITTED is used.</td>
<td><code>enum: [&quot;COMMENTS_VIEW_MODE_UNSPECIFIED&quot;,&quot;COMMENTS_VIEW_MODE_DEFAULT_FOR_CURRENT_ACCESS&quot;,&quot;COMMENTS_VIEW_MODE_OMITTED&quot;,&quot;COMMENTS_VIEW_MODE_INCLUDED&quot;]</code></td>
</tr>
<tr>
<td><code>query.excludeTablesInBandedRanges</code></td>
<td>boolean</td>
<td>Optional</td>
<td>True if tables should be excluded in the banded ranges. False if not set.</td>
<td></td>
</tr>
<tr>
<td><code>query.includeGridData</code></td>
<td>boolean</td>
<td>Optional</td>
<td>True if grid data should be returned. This parameter is ignored if a field mask was set in the request.</td>
<td></td>
</tr>
<tr>
<td><code>query.ranges</code></td>
<td>array</td>
<td>Optional</td>
<td></td>
<td></td>
</tr>
<tr>
<td><code>query.ranges[]</code></td>
<td>string</td>
<td>Optional</td>
<td>The ranges to retrieve from the spreadsheet.</td>
<td></td>
</tr>
<tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.spreadsheetId</code></td>
<td>string</td>
<td>Required</td>
<td>The spreadsheet to request.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/google-sheets/commands/google-sheets.sheets.spreadsheets.get">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "spreadsheetId": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-google-sheets-sheets-spreadsheets-getbydatafilter">
<summary><span>Returns the spreadsheet at the given ID — <code>google-<wbr>sheets.<wbr>sheets.<wbr>spreadsheets.<wbr>getbydatafilter</code></span></summary>
<p>Run <strong>Returns the spreadsheet at the given ID</strong> with Google Sheets. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/google-sheets?command=google-sheets.sheets.spreadsheets.getbydatafilter">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.$.xgafv</code></td>
<td>string</td>
<td>Optional</td>
<td>V1 error format.</td>
<td><code>enum: [&quot;1&quot;,&quot;2&quot;]</code></td>
</tr>
<tr>
<td><code>query.fields</code></td>
<td>string</td>
<td>Optional</td>
<td>Selector specifying which fields to include in a partial response.</td>
<td></td>
</tr>
<tr>
<td><code>query.prettyPrint</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Returns response with indentations and line breaks.</td>
<td><code>default: true</code></td>
</tr>
<tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.spreadsheetId</code></td>
<td>string</td>
<td>Required</td>
<td>The spreadsheet to request.</td>
<td></td>
</tr>
<tr>
<td><code>body</code></td>
<td>—</td>
<td>Required</td>
<td></td>
<td><code>$ref: &quot;#/definitions/GetSpreadsheetByDataFilterRequest&quot;</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/google-sheets/commands/google-sheets.sheets.spreadsheets.getbydatafilter">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "spreadsheetId": "example"
  },
  "body": {}
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-google-sheets-sheets-spreadsheets-developermetadata-get">
<summary><span>Returns the developer metadata with the specified ID — <code>google-<wbr>sheets.<wbr>sheets.<wbr>spreadsheets.<wbr>developermetadata.<wbr>get</code></span></summary>
<p>Run <strong>Returns the developer metadata with the specified ID</strong> with Google Sheets. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/google-sheets?command=google-sheets.sheets.spreadsheets.developermetadata.get">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.$.xgafv</code></td>
<td>string</td>
<td>Optional</td>
<td>V1 error format.</td>
<td><code>enum: [&quot;1&quot;,&quot;2&quot;]</code></td>
</tr>
<tr>
<td><code>query.fields</code></td>
<td>string</td>
<td>Optional</td>
<td>Selector specifying which fields to include in a partial response.</td>
<td></td>
</tr>
<tr>
<td><code>query.prettyPrint</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Returns response with indentations and line breaks.</td>
<td><code>default: true</code></td>
</tr>
<tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.metadataId</code></td>
<td>integer</td>
<td>Required</td>
<td>The ID of the developer metadata to retrieve.</td>
<td></td>
</tr>
<tr>
<td><code>path.spreadsheetId</code></td>
<td>string</td>
<td>Required</td>
<td>The ID of the spreadsheet to retrieve metadata from.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/google-sheets/commands/google-sheets.sheets.spreadsheets.developermetadata.get">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "metadataId": 1,
    "spreadsheetId": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-google-sheets-sheets-spreadsheets-developermetadata-search">
<summary><span>Returns all developer metadata matching the specified DataFilter — <code>google-<wbr>sheets.<wbr>sheets.<wbr>spreadsheets.<wbr>developermetadata.<wbr>search</code></span></summary>
<p>Run <strong>Returns all developer metadata matching the specified DataFilter</strong> with Google Sheets. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/google-sheets?command=google-sheets.sheets.spreadsheets.developermetadata.search">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.$.xgafv</code></td>
<td>string</td>
<td>Optional</td>
<td>V1 error format.</td>
<td><code>enum: [&quot;1&quot;,&quot;2&quot;]</code></td>
</tr>
<tr>
<td><code>query.fields</code></td>
<td>string</td>
<td>Optional</td>
<td>Selector specifying which fields to include in a partial response.</td>
<td></td>
</tr>
<tr>
<td><code>query.prettyPrint</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Returns response with indentations and line breaks.</td>
<td><code>default: true</code></td>
</tr>
<tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.spreadsheetId</code></td>
<td>string</td>
<td>Required</td>
<td>The ID of the spreadsheet to retrieve metadata from.</td>
<td></td>
</tr>
<tr>
<td><code>body</code></td>
<td>—</td>
<td>Required</td>
<td></td>
<td><code>$ref: &quot;#/definitions/SearchDeveloperMetadataRequest&quot;</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/google-sheets/commands/google-sheets.sheets.spreadsheets.developermetadata.search">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "spreadsheetId": "example"
  },
  "body": {}
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-google-sheets-sheets-spreadsheets-sheets-copyto">
<summary><span>Copies a single sheet from a spreadsheet to another spreadsheet — <code>google-<wbr>sheets.<wbr>sheets.<wbr>spreadsheets.<wbr>sheets.<wbr>copyto</code></span></summary>
<p>Run <strong>Copies a single sheet from a spreadsheet to another spreadsheet</strong> with Google Sheets. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/google-sheets?command=google-sheets.sheets.spreadsheets.sheets.copyto">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.$.xgafv</code></td>
<td>string</td>
<td>Optional</td>
<td>V1 error format.</td>
<td><code>enum: [&quot;1&quot;,&quot;2&quot;]</code></td>
</tr>
<tr>
<td><code>query.fields</code></td>
<td>string</td>
<td>Optional</td>
<td>Selector specifying which fields to include in a partial response.</td>
<td></td>
</tr>
<tr>
<td><code>query.prettyPrint</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Returns response with indentations and line breaks.</td>
<td><code>default: true</code></td>
</tr>
<tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.sheetId</code></td>
<td>integer</td>
<td>Required</td>
<td>The ID of the sheet to copy.</td>
<td></td>
</tr>
<tr>
<td><code>path.spreadsheetId</code></td>
<td>string</td>
<td>Required</td>
<td>The ID of the spreadsheet containing the sheet to copy.</td>
<td></td>
</tr>
<tr>
<td><code>body</code></td>
<td>—</td>
<td>Required</td>
<td></td>
<td><code>$ref: &quot;#/definitions/CopySheetToAnotherSpreadsheetRequest&quot;</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/google-sheets/commands/google-sheets.sheets.spreadsheets.sheets.copyto">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "sheetId": 1,
    "spreadsheetId": "example"
  },
  "body": {}
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-google-sheets-sheets-spreadsheets-values-append">
<summary><span>Appends values to a spreadsheet — <code>google-<wbr>sheets.<wbr>sheets.<wbr>spreadsheets.<wbr>values.<wbr>append</code></span></summary>
<p>Run <strong>Appends values to a spreadsheet</strong> with Google Sheets. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/google-sheets?command=google-sheets.sheets.spreadsheets.values.append">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.$.xgafv</code></td>
<td>string</td>
<td>Optional</td>
<td>V1 error format.</td>
<td><code>enum: [&quot;1&quot;,&quot;2&quot;]</code></td>
</tr>
<tr>
<td><code>query.fields</code></td>
<td>string</td>
<td>Optional</td>
<td>Selector specifying which fields to include in a partial response.</td>
<td></td>
</tr>
<tr>
<td><code>query.prettyPrint</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Returns response with indentations and line breaks.</td>
<td><code>default: true</code></td>
</tr>
<tr>
<td><code>query.includeValuesInResponse</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Determines if the update response should include the values of the cells that were appended. By default, responses do not include the updated values.</td>
<td></td>
</tr>
<tr>
<td><code>query.insertDataOption</code></td>
<td>string</td>
<td>Optional</td>
<td>How the input data should be inserted.</td>
<td><code>enum: [&quot;OVERWRITE&quot;,&quot;INSERT_ROWS&quot;]</code></td>
</tr>
<tr>
<td><code>query.responseDateTimeRenderOption</code></td>
<td>string</td>
<td>Optional</td>
<td>Determines how dates, times, and durations in the response should be rendered. This is ignored if response_value_render_option is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER.</td>
<td><code>enum: [&quot;SERIAL_NUMBER&quot;,&quot;FORMATTED_STRING&quot;]</code></td>
</tr>
<tr>
<td><code>query.responseValueRenderOption</code></td>
<td>string</td>
<td>Optional</td>
<td>Determines how values in the response should be rendered. The default render option is FORMATTED_VALUE.</td>
<td><code>enum: [&quot;FORMATTED_VALUE&quot;,&quot;UNFORMATTED_VALUE&quot;,&quot;FORMULA&quot;]</code></td>
</tr>
<tr>
<td><code>query.valueInputOption</code></td>
<td>string</td>
<td>Optional</td>
<td>How the input data should be interpreted.</td>
<td><code>enum: [&quot;INPUT_VALUE_OPTION_UNSPECIFIED&quot;,&quot;RAW&quot;,&quot;USER_ENTERED&quot;]</code></td>
</tr>
<tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.range</code></td>
<td>string</td>
<td>Required</td>
<td>The <a href="https://developers.google.com/workspace/sheets/api/guides/concepts#cell">A1 notation</a> of a range to search for a logical table of data. Values are appended after the last row of the table.</td>
<td></td>
</tr>
<tr>
<td><code>path.spreadsheetId</code></td>
<td>string</td>
<td>Required</td>
<td>The ID of the spreadsheet to update.</td>
<td></td>
</tr>
<tr>
<td><code>body</code></td>
<td>—</td>
<td>Required</td>
<td></td>
<td><code>$ref: &quot;#/definitions/ValueRange&quot;</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/google-sheets/commands/google-sheets.sheets.spreadsheets.values.append">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "range": "example",
    "spreadsheetId": "example"
  },
  "body": {}
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-google-sheets-sheets-spreadsheets-values-batchclear">
<summary><span>Clears one or more ranges of values from a spreadsheet — <code>google-<wbr>sheets.<wbr>sheets.<wbr>spreadsheets.<wbr>values.<wbr>batchclear</code></span></summary>
<p>Run <strong>Clears one or more ranges of values from a spreadsheet</strong> with Google Sheets. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/google-sheets?command=google-sheets.sheets.spreadsheets.values.batchclear">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.$.xgafv</code></td>
<td>string</td>
<td>Optional</td>
<td>V1 error format.</td>
<td><code>enum: [&quot;1&quot;,&quot;2&quot;]</code></td>
</tr>
<tr>
<td><code>query.fields</code></td>
<td>string</td>
<td>Optional</td>
<td>Selector specifying which fields to include in a partial response.</td>
<td></td>
</tr>
<tr>
<td><code>query.prettyPrint</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Returns response with indentations and line breaks.</td>
<td><code>default: true</code></td>
</tr>
<tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.spreadsheetId</code></td>
<td>string</td>
<td>Required</td>
<td>The ID of the spreadsheet to update.</td>
<td></td>
</tr>
<tr>
<td><code>body</code></td>
<td>—</td>
<td>Required</td>
<td></td>
<td><code>$ref: &quot;#/definitions/BatchClearValuesRequest&quot;</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/google-sheets/commands/google-sheets.sheets.spreadsheets.values.batchclear">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "spreadsheetId": "example"
  },
  "body": {}
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-google-sheets-sheets-spreadsheets-values-batchclearbydatafilter">
<summary><span>Clears one or more ranges of values from a spreadsheet — <code>google-<wbr>sheets.<wbr>sheets.<wbr>spreadsheets.<wbr>values.<wbr>batchclearbydatafilt<wbr>er</code></span></summary>
<p>Run <strong>Clears one or more ranges of values from a spreadsheet</strong> with Google Sheets. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/google-sheets?command=google-sheets.sheets.spreadsheets.values.batchclearbydatafilter">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.$.xgafv</code></td>
<td>string</td>
<td>Optional</td>
<td>V1 error format.</td>
<td><code>enum: [&quot;1&quot;,&quot;2&quot;]</code></td>
</tr>
<tr>
<td><code>query.fields</code></td>
<td>string</td>
<td>Optional</td>
<td>Selector specifying which fields to include in a partial response.</td>
<td></td>
</tr>
<tr>
<td><code>query.prettyPrint</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Returns response with indentations and line breaks.</td>
<td><code>default: true</code></td>
</tr>
<tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.spreadsheetId</code></td>
<td>string</td>
<td>Required</td>
<td>The ID of the spreadsheet to update.</td>
<td></td>
</tr>
<tr>
<td><code>body</code></td>
<td>—</td>
<td>Required</td>
<td></td>
<td><code>$ref: &quot;#/definitions/BatchClearValuesByDataFilterRequest&quot;</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/google-sheets/commands/google-sheets.sheets.spreadsheets.values.batchclearbydatafilter">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "spreadsheetId": "example"
  },
  "body": {}
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-google-sheets-sheets-spreadsheets-values-batchget">
<summary><span>Returns one or more ranges of values from a spreadsheet — <code>google-<wbr>sheets.<wbr>sheets.<wbr>spreadsheets.<wbr>values.<wbr>batchget</code></span></summary>
<p>Run <strong>Returns one or more ranges of values from a spreadsheet</strong> with Google Sheets. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/google-sheets?command=google-sheets.sheets.spreadsheets.values.batchget">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.$.xgafv</code></td>
<td>string</td>
<td>Optional</td>
<td>V1 error format.</td>
<td><code>enum: [&quot;1&quot;,&quot;2&quot;]</code></td>
</tr>
<tr>
<td><code>query.fields</code></td>
<td>string</td>
<td>Optional</td>
<td>Selector specifying which fields to include in a partial response.</td>
<td></td>
</tr>
<tr>
<td><code>query.prettyPrint</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Returns response with indentations and line breaks.</td>
<td><code>default: true</code></td>
</tr>
<tr>
<td><code>query.dateTimeRenderOption</code></td>
<td>string</td>
<td>Optional</td>
<td>How dates, times, and durations should be represented in the output. This is ignored if value_render_option is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER.</td>
<td><code>enum: [&quot;SERIAL_NUMBER&quot;,&quot;FORMATTED_STRING&quot;]</code></td>
</tr>
<tr>
<td><code>query.majorDimension</code></td>
<td>string</td>
<td>Optional</td>
<td>The major dimension that results should use. For example, if the spreadsheet data is: <code>A1=1,B1=2,A2=3,B2=4</code>, then requesting <code>ranges=[&quot;A1:B2&quot;],majorDimension=ROWS</code> returns <code>[[1,2],[3,4]]</code>, whereas requesting <code>ranges=[&quot;A1:B2&quot;],majorDimension=COLUMNS</code> returns <code>[[1,3],[2,4]]</code>.</td>
<td><code>enum: [&quot;DIMENSION_UNSPECIFIED&quot;,&quot;ROWS&quot;,&quot;COLUMNS&quot;]</code></td>
</tr>
<tr>
<td><code>query.ranges</code></td>
<td>array</td>
<td>Optional</td>
<td></td>
<td></td>
</tr>
<tr>
<td><code>query.ranges[]</code></td>
<td>string</td>
<td>Optional</td>
<td>The <a href="https://developers.google.com/workspace/sheets/api/guides/concepts#cell">A1 notation or R1C1 notation</a> of the range to retrieve values from.</td>
<td></td>
</tr>
<tr>
<td><code>query.valueRenderOption</code></td>
<td>string</td>
<td>Optional</td>
<td>How values should be represented in the output. The default render option is ValueRenderOption.FORMATTED_VALUE.</td>
<td><code>enum: [&quot;FORMATTED_VALUE&quot;,&quot;UNFORMATTED_VALUE&quot;,&quot;FORMULA&quot;]</code></td>
</tr>
<tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.spreadsheetId</code></td>
<td>string</td>
<td>Required</td>
<td>The ID of the spreadsheet to retrieve data from.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/google-sheets/commands/google-sheets.sheets.spreadsheets.values.batchget">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "spreadsheetId": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-google-sheets-sheets-spreadsheets-values-batchgetbydatafilter">
<summary><span>Returns one or more ranges of values that match the specified data filters — <code>google-<wbr>sheets.<wbr>sheets.<wbr>spreadsheets.<wbr>values.<wbr>batchgetbydatafilter</code></span></summary>
<p>Run <strong>Returns one or more ranges of values that match the specified data filters</strong> with Google Sheets. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/google-sheets?command=google-sheets.sheets.spreadsheets.values.batchgetbydatafilter">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.$.xgafv</code></td>
<td>string</td>
<td>Optional</td>
<td>V1 error format.</td>
<td><code>enum: [&quot;1&quot;,&quot;2&quot;]</code></td>
</tr>
<tr>
<td><code>query.fields</code></td>
<td>string</td>
<td>Optional</td>
<td>Selector specifying which fields to include in a partial response.</td>
<td></td>
</tr>
<tr>
<td><code>query.prettyPrint</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Returns response with indentations and line breaks.</td>
<td><code>default: true</code></td>
</tr>
<tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.spreadsheetId</code></td>
<td>string</td>
<td>Required</td>
<td>The ID of the spreadsheet to retrieve data from.</td>
<td></td>
</tr>
<tr>
<td><code>body</code></td>
<td>—</td>
<td>Required</td>
<td></td>
<td><code>$ref: &quot;#/definitions/BatchGetValuesByDataFilterRequest&quot;</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/google-sheets/commands/google-sheets.sheets.spreadsheets.values.batchgetbydatafilter">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "spreadsheetId": "example"
  },
  "body": {}
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-google-sheets-sheets-spreadsheets-values-batchupdate">
<summary><span>Sets values in one or more ranges of a spreadsheet — <code>google-<wbr>sheets.<wbr>sheets.<wbr>spreadsheets.<wbr>values.<wbr>batchupdate</code></span></summary>
<p>Run <strong>Sets values in one or more ranges of a spreadsheet</strong> with Google Sheets. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/google-sheets?command=google-sheets.sheets.spreadsheets.values.batchupdate">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.$.xgafv</code></td>
<td>string</td>
<td>Optional</td>
<td>V1 error format.</td>
<td><code>enum: [&quot;1&quot;,&quot;2&quot;]</code></td>
</tr>
<tr>
<td><code>query.fields</code></td>
<td>string</td>
<td>Optional</td>
<td>Selector specifying which fields to include in a partial response.</td>
<td></td>
</tr>
<tr>
<td><code>query.prettyPrint</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Returns response with indentations and line breaks.</td>
<td><code>default: true</code></td>
</tr>
<tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.spreadsheetId</code></td>
<td>string</td>
<td>Required</td>
<td>The ID of the spreadsheet to update.</td>
<td></td>
</tr>
<tr>
<td><code>body</code></td>
<td>—</td>
<td>Required</td>
<td></td>
<td><code>$ref: &quot;#/definitions/BatchUpdateValuesRequest&quot;</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/google-sheets/commands/google-sheets.sheets.spreadsheets.values.batchupdate">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "spreadsheetId": "example"
  },
  "body": {}
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-google-sheets-sheets-spreadsheets-values-batchupdatebydatafilter">
<summary><span>Sets values in one or more ranges of a spreadsheet — <code>google-<wbr>sheets.<wbr>sheets.<wbr>spreadsheets.<wbr>values.<wbr>batchupdatebydatafil<wbr>ter</code></span></summary>
<p>Run <strong>Sets values in one or more ranges of a spreadsheet</strong> with Google Sheets. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/google-sheets?command=google-sheets.sheets.spreadsheets.values.batchupdatebydatafilter">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.$.xgafv</code></td>
<td>string</td>
<td>Optional</td>
<td>V1 error format.</td>
<td><code>enum: [&quot;1&quot;,&quot;2&quot;]</code></td>
</tr>
<tr>
<td><code>query.fields</code></td>
<td>string</td>
<td>Optional</td>
<td>Selector specifying which fields to include in a partial response.</td>
<td></td>
</tr>
<tr>
<td><code>query.prettyPrint</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Returns response with indentations and line breaks.</td>
<td><code>default: true</code></td>
</tr>
<tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.spreadsheetId</code></td>
<td>string</td>
<td>Required</td>
<td>The ID of the spreadsheet to update.</td>
<td></td>
</tr>
<tr>
<td><code>body</code></td>
<td>—</td>
<td>Required</td>
<td></td>
<td><code>$ref: &quot;#/definitions/BatchUpdateValuesByDataFilterRequest&quot;</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/google-sheets/commands/google-sheets.sheets.spreadsheets.values.batchupdatebydatafilter">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "spreadsheetId": "example"
  },
  "body": {}
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-google-sheets-sheets-spreadsheets-values-clear">
<summary><span>Clears values from a spreadsheet — <code>google-<wbr>sheets.<wbr>sheets.<wbr>spreadsheets.<wbr>values.<wbr>clear</code></span></summary>
<p>Run <strong>Clears values from a spreadsheet</strong> with Google Sheets. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/google-sheets?command=google-sheets.sheets.spreadsheets.values.clear">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.$.xgafv</code></td>
<td>string</td>
<td>Optional</td>
<td>V1 error format.</td>
<td><code>enum: [&quot;1&quot;,&quot;2&quot;]</code></td>
</tr>
<tr>
<td><code>query.fields</code></td>
<td>string</td>
<td>Optional</td>
<td>Selector specifying which fields to include in a partial response.</td>
<td></td>
</tr>
<tr>
<td><code>query.prettyPrint</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Returns response with indentations and line breaks.</td>
<td><code>default: true</code></td>
</tr>
<tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.range</code></td>
<td>string</td>
<td>Required</td>
<td>The <a href="https://developers.google.com/workspace/sheets/api/guides/concepts#cell">A1 notation or R1C1 notation</a> of the values to clear.</td>
<td></td>
</tr>
<tr>
<td><code>path.spreadsheetId</code></td>
<td>string</td>
<td>Required</td>
<td>The ID of the spreadsheet to update.</td>
<td></td>
</tr>
<tr>
<td><code>body</code></td>
<td>—</td>
<td>Required</td>
<td></td>
<td><code>$ref: &quot;#/definitions/ClearValuesRequest&quot;</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/google-sheets/commands/google-sheets.sheets.spreadsheets.values.clear">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "range": "example",
    "spreadsheetId": "example"
  },
  "body": {}
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-google-sheets-sheets-spreadsheets-values-get">
<summary><span>Returns a range of values from a spreadsheet — <code>google-<wbr>sheets.<wbr>sheets.<wbr>spreadsheets.<wbr>values.<wbr>get</code></span></summary>
<p>Run <strong>Returns a range of values from a spreadsheet</strong> with Google Sheets. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/google-sheets?command=google-sheets.sheets.spreadsheets.values.get">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.$.xgafv</code></td>
<td>string</td>
<td>Optional</td>
<td>V1 error format.</td>
<td><code>enum: [&quot;1&quot;,&quot;2&quot;]</code></td>
</tr>
<tr>
<td><code>query.fields</code></td>
<td>string</td>
<td>Optional</td>
<td>Selector specifying which fields to include in a partial response.</td>
<td></td>
</tr>
<tr>
<td><code>query.prettyPrint</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Returns response with indentations and line breaks.</td>
<td><code>default: true</code></td>
</tr>
<tr>
<td><code>query.dateTimeRenderOption</code></td>
<td>string</td>
<td>Optional</td>
<td>How dates, times, and durations should be represented in the output. This is ignored if value_render_option is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER.</td>
<td><code>enum: [&quot;SERIAL_NUMBER&quot;,&quot;FORMATTED_STRING&quot;]</code></td>
</tr>
<tr>
<td><code>query.majorDimension</code></td>
<td>string</td>
<td>Optional</td>
<td>The major dimension that results should use. For example, if the spreadsheet data in Sheet1 is: <code>A1=1,B1=2,A2=3,B2=4</code>, then requesting <code>range=Sheet1!A1:B2?majorDimension=ROWS</code> returns <code>[[1,2],[3,4]]</code>, whereas requesting <code>range=Sheet1!A1:B2?majorDimension=COLUMNS</code> returns <code>[[1,3],[2,4]]</code>.</td>
<td><code>enum: [&quot;DIMENSION_UNSPECIFIED&quot;,&quot;ROWS&quot;,&quot;COLUMNS&quot;]</code></td>
</tr>
<tr>
<td><code>query.valueRenderOption</code></td>
<td>string</td>
<td>Optional</td>
<td>How values should be represented in the output. The default render option is FORMATTED_VALUE.</td>
<td><code>enum: [&quot;FORMATTED_VALUE&quot;,&quot;UNFORMATTED_VALUE&quot;,&quot;FORMULA&quot;]</code></td>
</tr>
<tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.range</code></td>
<td>string</td>
<td>Required</td>
<td>The <a href="https://developers.google.com/workspace/sheets/api/guides/concepts#cell">A1 notation or R1C1 notation</a> of the range to retrieve values from.</td>
<td></td>
</tr>
<tr>
<td><code>path.spreadsheetId</code></td>
<td>string</td>
<td>Required</td>
<td>The ID of the spreadsheet to retrieve data from.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/google-sheets/commands/google-sheets.sheets.spreadsheets.values.get">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "range": "example",
    "spreadsheetId": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-google-sheets-sheets-spreadsheets-values-update">
<summary><span>Sets values in a range of a spreadsheet — <code>google-<wbr>sheets.<wbr>sheets.<wbr>spreadsheets.<wbr>values.<wbr>update</code></span></summary>
<p>Run <strong>Sets values in a range of a spreadsheet</strong> with Google Sheets. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/google-sheets?command=google-sheets.sheets.spreadsheets.values.update">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.$.xgafv</code></td>
<td>string</td>
<td>Optional</td>
<td>V1 error format.</td>
<td><code>enum: [&quot;1&quot;,&quot;2&quot;]</code></td>
</tr>
<tr>
<td><code>query.fields</code></td>
<td>string</td>
<td>Optional</td>
<td>Selector specifying which fields to include in a partial response.</td>
<td></td>
</tr>
<tr>
<td><code>query.prettyPrint</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Returns response with indentations and line breaks.</td>
<td><code>default: true</code></td>
</tr>
<tr>
<td><code>query.includeValuesInResponse</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Determines if the update response should include the values of the cells that were updated. By default, responses do not include the updated values. If the range to write was larger than the range actually written, the response includes all values in the requested range (excluding trailing empty rows and columns).</td>
<td></td>
</tr>
<tr>
<td><code>query.responseDateTimeRenderOption</code></td>
<td>string</td>
<td>Optional</td>
<td>Determines how dates, times, and durations in the response should be rendered. This is ignored if response_value_render_option is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER.</td>
<td><code>enum: [&quot;SERIAL_NUMBER&quot;,&quot;FORMATTED_STRING&quot;]</code></td>
</tr>
<tr>
<td><code>query.responseValueRenderOption</code></td>
<td>string</td>
<td>Optional</td>
<td>Determines how values in the response should be rendered. The default render option is FORMATTED_VALUE.</td>
<td><code>enum: [&quot;FORMATTED_VALUE&quot;,&quot;UNFORMATTED_VALUE&quot;,&quot;FORMULA&quot;]</code></td>
</tr>
<tr>
<td><code>query.valueInputOption</code></td>
<td>string</td>
<td>Optional</td>
<td>How the input data should be interpreted.</td>
<td><code>enum: [&quot;INPUT_VALUE_OPTION_UNSPECIFIED&quot;,&quot;RAW&quot;,&quot;USER_ENTERED&quot;]</code></td>
</tr>
<tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.range</code></td>
<td>string</td>
<td>Required</td>
<td>The <a href="https://developers.google.com/workspace/sheets/api/guides/concepts#cell">A1 notation</a> of the values to update.</td>
<td></td>
</tr>
<tr>
<td><code>path.spreadsheetId</code></td>
<td>string</td>
<td>Required</td>
<td>The ID of the spreadsheet to update.</td>
<td></td>
</tr>
<tr>
<td><code>body</code></td>
<td>—</td>
<td>Required</td>
<td></td>
<td><code>$ref: &quot;#/definitions/ValueRange&quot;</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/google-sheets/commands/google-sheets.sheets.spreadsheets.values.update">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "range": "example",
    "spreadsheetId": "example"
  },
  "body": {}
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<h2>Errors</h2>

<p>Check the key&#39;s expiry, revocation, workspace and allowed operations.</p>

<p>Reuse the same idempotency key only for the same request.</p>

<p>The connection or provider limit has been reached. Check the receipt before retrying.</p>

<h2>Test the connection</h2>

<p>Open the integration&#39;s commands below to inspect parameters and examples. Start with a read command for an account or resource you can access. Refresh your client&#39;s tool list, use the returned tool name, and check the execution result and usage. Provider charges and permissions still apply. Never test a write against production data without reviewing it.</p>

<p><a href="https://developers.google.com/workspace/sheets/api/reference/rest">Official provider documentation</a></p>

Source: https://help.tooluse.net/integrations/google-sheets/index.mdx
