# delete_rate_rounding_rule

Delete a rate rounding rule. Pass the version from your last read as expectedVersion. If it is stale the tool deletes
nothing and returns RATE_ROUNDING_RULE_VERSION_CONFLICT with the current rule: show it to the user and wait for a new
explicit instruction; it never retries with the new version. If the outcome is uncertain (OUTCOME_UNKNOWN) the rule may
be gone: read it with get_rate_rounding_rule (RATE_ROUNDING_RULE_NOT_FOUND means deleted). Deleting detaches every
product group that selects the rule and reprices them in the background; past bookings and quotes are not repriced.

<!-- INPUT_BLOCK_START -->

## Input

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `ruleId` | `string` | Yes | The ID of the rounding rule to delete |
| `expectedVersion` | `number` | Yes | The version of the rule you last read. A stale version fails with RATE_ROUNDING_RULE_VERSION_CONFLICT and deletes nothing. |

<!-- INPUT_BLOCK_END -->

<!-- OUTPUT_BLOCK_START -->

## Output

| Field | Type | Description |
| --- | --- | --- |
| `content` | `ContentItem[]` | Array of content items returned by the tool - [ContentItem](#contentitem) |
| `isError` | `boolean` | Whether the tool execution resulted in an error |

### ContentItem

| Field | Type | Description |
| --- | --- | --- |
| `type` | `'text'` | Content type (currently only 'text' is supported) |
| `text` | `string` | The text content to display |

<!-- OUTPUT_BLOCK_END -->
