update_credential
Edit a connection's fields or authorization, then re-save to rerun token requests and ensure the app uses updated credentials instead of stale or empty ones.
Instructions
Edit a connection. Re-saving re-runs the authorization requests that obtain the token, so call it after editing the authorization itself; otherwise the requests will keep the old token or an empty substitution.
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": {
"appId": "<appId>",
"credentialId": "<credentialId>",
"fields": "<fields>"
},
"name": "update_credential"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | App ID | |
| title | No | New name, if needed | |
| authId | No | Authorization ID when ambiguous | |
| fields | Yes | Field values as {"code": "value"} | |
| credentialId | Yes | Connection ID |