update_usage_limit
Update a usage limit's name, credit limit, alert threshold, or reset schedule by ID. Changes apply immediately without affecting accumulated usage.
Instructions
Update a usage limit's name, credit_limit, alert_threshold, reset schedule, or reset target by id, unlike update_rate_limit which tunes request throttling. New values apply immediately to tracked usage, conditions and group_by are immutable after creation, and the call returns the updated id without clearing accumulated usage (use reset_usage_limit_entity for that).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The unique identifier of the usage limit | |
| name | No | New name for the usage limit | |
| credit_limit | No | New maximum allowed usage value | |
| alert_threshold | No | New alert threshold percentage (0-100) | |
| periodic_reset | No | New periodic reset schedule | |
| reset_usage_for_value | No | Reset usage counters for a specific group_by value |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded and returned structured data | |
| data | No | Structured success payload when ok is true | |
| error | No | Structured error payload when ok is false |