Sheets rename sheet

sheets__rename_sheet

Access

Requires a project integration connection for sheets.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
spreadsheetIdstringYesGoogle Sheets spreadsheet ID
requestsobject[]YesProvide one or more request values.

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "sheets__rename_sheet",
    "arguments": {
      "spreadsheetId": "example",
      "requests": [
        {
          "updateSheetProperties": {
            "properties": {
              "sheetId": 0,
              "title": "example"
            },
            "fields": "title"
          }
        }
      ]
    }
  }
}

Result

No output schema is published for this tool. The input contract does not define its return fields. Inspect the MCP response content and isError; do not assume a fixed object shape. See the sheets integration reference for provider setup and tool context.

Full schemas

json
{
  "type": "object",
  "properties": {
    "spreadsheetId": {
      "type": "string",
      "description": "Google Sheets spreadsheet ID"
    },
    "requests": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object",
        "required": [
          "updateSheetProperties"
        ],
        "additionalProperties": false,
        "properties": {
          "updateSheetProperties": {
            "type": "object",
            "required": [
              "properties",
              "fields"
            ],
            "additionalProperties": false,
            "properties": {
              "properties": {
                "type": "object",
                "required": [
                  "sheetId",
                  "title"
                ],
                "additionalProperties": false,
                "properties": {
                  "sheetId": {
                    "type": "integer",
                    "minimum": 0,
                    "description": "Provide the sheet id."
                  },
                  "title": {
                    "type": "string",
                    "description": "Short human-readable title for the record."
                  }
                },
                "description": "Structured properties details used by the tool."
              },
              "fields": {
                "type": "string",
                "const": "title",
                "description": "Fields that define the structured input request."
              }
            },
            "description": "Structured update sheet properties details used by the tool."
          }
        },
        "description": "One request item supplied to the tool."
      },
      "description": "Provide one or more request values."
    }
  },
  "required": [
    "spreadsheetId",
    "requests"
  ],
  "description": "Arguments for the sheets__rename_sheet tool."
}