update_credential
Update existing credentials by merging specified fields, removing selected keys, or replacing endpoint configurations. Supports environment variable references for flexible credential management.
Instructions
更新已有凭据。fields 只合并传入的键;removeFields 删除字段;endpoints 整体替换。同样支持 'env:VAR' 间接引用。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 现有凭据名称或 id | |
| tags | No | ||
| fields | No | ||
| system | No | ||
| newName | No | ||
| authType | No | ||
| endpoints | No | 整体替换端点配置(结构同 add_credential);传 {} 清空 | |
| ttlSeconds | No | ||
| description | No | ||
| removeFields | No |