delete_conditional_formatting
Delete a specific conditional formatting rule from a Google Sheet using its index. Supply user email, spreadsheet ID, and rule index; optionally specify sheet name to target the right worksheet.
Instructions
Deletes an existing conditional formatting rule by index on a sheet.
Args: user_google_email (str): The user's Google email address. Required. spreadsheet_id (str): The ID of the spreadsheet. Required. rule_index (int): Index of the rule to delete (0-based). sheet_name (Optional[str]): Name of the sheet that contains the rule. Defaults to the first sheet if not provided.
Returns: str: Confirmation of the deletion and the current rule state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_index | Yes | ||
| sheet_name | No | ||
| spreadsheet_id | Yes | ||
| user_google_email | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |