Create Login
keychain_create_loginCreate a login item with username, password, TOTP, and URIs for storing website or app credentials. Supports custom fields, attachments, and organization scoping.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name for the login item. | |
| username | No | Login username or email address. | |
| password | No | Password to store on the login item. | |
| uris | No | URI entries to store or update on the login item. | |
| totp | No | TOTP secret or otpauth value for 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. | |
| attachments | No | Attachments to add to the item. | |
| favorite | No | Mark the item as a favorite when true. | |
| organizationId | No | Bitwarden organization id; used for org-scoped collection operations. | |
| collectionIds | No | Bitwarden collection ids, not folder ids. | |
| folderId | No | Personal folder id, not an organization collection id. |