delete_conditional_formatting
Delete a conditional formatting rule by index from a Google Sheets spreadsheet, with a dry-run option to preview changes before applying.
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. dry_run (bool): When True (default), return planned deletion without mutating the sheet.
Returns: str: Confirmation of the deletion and the current rule state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| spreadsheet_id | Yes | ||
| rule_index | Yes | ||
| sheet_name | No | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |