update_virtual_key
Update a virtual key's name, secret, note, or rate and credit limits. Changes take effect immediately, affecting downstream configurations.
Instructions
Update a virtual key's name, secret, note, or limits. Rotating the key takes effect immediately, and limit changes apply to downstream prompts and configs using this slug. Returns the updated name, slug, and status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | New provider API key value | |
| name | No | New display name for the key | |
| note | No | New note or description | |
| slug | Yes | The slug of the virtual key to update | |
| credit_limit | No | New credit limit for usage | |
| rate_limit_rpm | No | New rate limit in requests per minute | |
| alert_threshold | No | New alert threshold percentage (0-100) |
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 |