update_provider
Update a provider's metadata, set limits, or reset usage counters. Returns the updated provider ID and slug.
Instructions
Update a provider's metadata, limits, or expiration. reset_usage clears accumulated usage counters immediately, so use it only when you intend to reset quota tracking. Returns the updated provider id and slug.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The slug of the provider to update | |
| workspace_id | No | Workspace ID - required when using organization admin keys | |
| name | No | New display name for the provider | |
| note | No | New note or description for the provider | |
| credit_limit | No | New credit limit for usage | |
| alert_threshold | No | New alert threshold percentage (0-100) | |
| usage_limit_type | No | Type of usage limit: 'cost' (monetary) or 'tokens' (token count). Defaults to 'cost'. | |
| periodic_reset | No | Period for resetting usage limits: 'monthly' or 'weekly'. Defaults to 'monthly'. | |
| rate_limit_value | No | New rate limit value | |
| rate_limit_unit | No | Rate limit unit: 'rpm' (requests per minute), 'rph' (requests per hour), or 'rpd' (requests per day) | |
| expires_at | No | New expiration date in ISO 8601 format | |
| reset_usage | No | Set to true to reset accumulated usage metrics |
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 |