# list_rate_rounding_rules

List a workspace's named rate rounding rules (the rules derived product groups use to round their prices), ordered by
name, with cursor-based pagination (pages hold at most 25 rules, default 25). Each rule has its id, name, version
(needed to update or delete it), definition (stepUnits, ending, direction) and usage; usage.status is UNKNOWN, never
zero groups, when the usage could not be worked out, and a warning says so.

<!-- INPUT_BLOCK_START -->

## Input

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `workspaceId` | `string` | Yes | The ID of the workspace whose rounding rules to list |
| `filters` | `RateRoundingRulesFilters` | No | Filters for the rule list - [RateRoundingRulesFilters](#rateroundingrulesfilters) |
| `first` | `number` | No | Number of rules to return (forward pagination). Maximum 25. Defaults to 25 if neither first nor last is provided. |
| `after` | `string` | No | Cursor for forward pagination. Pass the endCursor from the previous page. |
| `last` | `number` | No | Number of rules to return (backward pagination). Maximum 25. Use with before for reverse paging. |
| `before` | `string` | No | Cursor for backward pagination. Pass the startCursor from the previous page. |

### RateRoundingRulesFilters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | `RateRoundingRuleNameFilter` | No | Filter rules by name - [RateRoundingRuleNameFilter](#rateroundingrulenamefilter) |

### RateRoundingRuleNameFilter

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `eq` | `string` | No | Equals: exact match |
| `neq` | `string` | No | Not equals: exclude exact match |
| `in` | `string[]` | No | In: match any name in the array |
| `nin` | `string[]` | No | Not in: exclude names in the array |
| `search` | `string` | No | Pattern search. Prefix with ^ for starts-with, ! for not-contains, or a plain value for contains |

<!-- 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 -->
