Manage saved logins
manage_loginsSave, change or delete a saved login: URL, username, password and notes, encrypted at rest. The password is never echoed back. To read a password use reveal_values item login; to list logins use list_project_items item logins. An API key with no sign-in page belongs in manage_secrets. Actions (arguments besides action and project):
create (password; optional name, url, username, notes): adds one even under a name in use; name defaults to one made from the URL.
update (login; at least one of the same five fields): changes only the fields passed.
delete (login): removes it permanently. login is the id, or the exact name if no other login shares it. Every action returns the login's id and name, never the password; update adds changed (the fields it changed) and delete adds deleted: true. Errors are messages: a protected or archived project, a protected or sealed login, a name that matches nothing or several logins. Audited. Needs logins:write and the editor role.
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": {
"action": "<action>",
"project": "<project>"
},
"name": "manage_logins"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Sign-in page URL | |
| name | No | Shown in lists; derived from the URL when omitted | |
| login | No | update, delete: login id, or its exact name | |
| notes | No | Free-text notes, up to 16 KB, encrypted like the password | |
| action | Yes | What to do | |
| project | Yes | Project slug from list_projects, e.g. my-app, or its id (a UUID) | |
| password | No | create: required password, up to 4096 characters. update: the new password | |
| username | No | Username or email used to sign in |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | create, update, delete: the login id | |
| name | No | create, update, delete: the login's name | |
| changed | No | update: which parts changed (url, name, username, password, notes, sealed, ...) | |
| deleted | No | delete: true once the login is gone |