Create Login
keychain_create_loginCreate a vault login item with username, password, TOTP, and URIs, including custom fields and attachments, with folder or collection scoping and redacted summary output.
Instructions
Create a login item with username/password/TOTP/URI data. Use this for website or app credentials instead of a secure note, card, or identity. Accepts custom fields and attachments, supports folder/organization/collection scoping, and returns a redacted item summary by default.
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": "keychain_create_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name for the login item. | |
| totp | No | TOTP secret or otpauth value for the login item. | |
| uris | No | URI entries to store or update on the login item. | |
| notes | No | Optional free-form notes for the login item. | |
| fields | No | Custom fields to store on the item. Hidden fields are redacted in summaries. | |
| favorite | No | Mark the item as a favorite when true. | |
| folderId | No | Personal folder id, not an organization collection id. | |
| password | No | Password to store on the login item. | |
| username | No | Login username or email address. | |
| attachments | No | Attachments to add to the item. | |
| collectionIds | No | Bitwarden collection ids, not folder ids. | |
| organizationId | No | Bitwarden organization id; used for org-scoped collection operations. |