clear_sheet_range

Clear the values in a range.

destructiveGoogle Sheets, Docs & Drive

Formatting, notes and data validation stay.

Call it

In an AI client (MCP)

tools/call
{
  "name": "clear_sheet_range",
  "arguments": {
    "spreadsheet_id": "<spreadsheet_id>",
    "range_": "<range_>"
  }
}

From code (Tool API)

curl -X POST https://api.sellersheetai.com/api/v1/tools/clear_sheet_range \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"spreadsheet_id":"<spreadsheet_id>","range_":"<range_>"}'
Early access — the Tool API is open on request, contact us.

Arguments

NameTypeDescription
spreadsheet_idrequiredstringthe spreadsheet ID (from its URL or get_sheet_metadata).
range_requiredstringA1 notation range (e.g. 'Sheet1!A1:Z100').

Result

Every tool answers {notification, data, human_action}; data carries:

  • data.cleared — the range that was cleared.

Example

clear_sheet_range("1ABC...", "Sheet1!A1:Z100")

On this page

Actions

View as Markdown

Ask an assistant

Ask ChatGPTAsk Claude