Edit a credential (the user confirms)
cred_editPropose edits to a stored credential through a prefilled form so the user can review, adjust, and submit changes while the secret stays hidden.
Instructions
Change a stored credential. The form comes prefilled with its public fields plus the changes you propose (rename, kind, URL, username, header, notes, and a new secret only if you already have it); the user checks, edits and submits. Propose nothing to let the user make the changes. The stored secret is never shown to you.
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": "cred_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Proposed URL | |
| kind | No | Proposed kind | |
| name | Yes | Credential name, as in cred_list | |
| notes | No | Proposed notes | |
| header | No | Proposed header name (API keys) | |
| secret | No | Proposed new secret, only if you already have it; shown to the user to check | |
| newName | No | Proposed new name | |
| username | No | Proposed username |