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' 间接引用。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "update_credential"
}
}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 |