# upsert_rate_modifier_settings

Create or update the per-Building rate modifier caps for a building (`buildingId`). Caps are `maxTotalDelta`
(sum of enabled rule deltas), `minPerRuleDelta`, and `maxPerRuleDelta`. Pass `null` for any cap to clear it.

<!-- INPUT_BLOCK_START -->

## Input

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `buildingId` | `string` | Yes | The ID of the building the caps apply to |
| `maxTotalDelta` | `number \| null` | No | Maximum sum of enabled rule deltas (>= 0). Pass `null` to clear the cap. |
| `minPerRuleDelta` | `number \| null` | No | Minimum per-rule delta. Pass `null` to clear the cap. |
| `maxPerRuleDelta` | `number \| null` | No | Maximum per-rule delta. Pass `null` to clear the cap. |

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