update_virtual_key
Update a virtual key's name, secret, note, or limits. Rotations apply instantly and limit changes affect downstream prompts and configs using the slug.
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 |
|---|---|---|---|
| slug | Yes | The slug of the virtual key to update | |
| name | No | New display name for the key | |
| key | No | New provider API key value | |
| note | No | New note or description | |
| credit_limit | No | New credit limit for usage | |
| alert_threshold | No | New alert threshold percentage (0-100) | |
| rate_limit_rpm | No | New rate limit in requests per minute |
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 |