Skip to main content
Glama

keychain_create_identity

Create identity items in a Bitwarden vault to store personal information like names, addresses, and contact details for secure management.

Instructions

Create an identity item.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
identityNo
notesNo
fieldsNo
favoriteNo
organizationIdNo
collectionIdsNo
folderIdNo

Implementation Reference

  • The tool 'keychain_create_identity' is registered and implemented in src/tools/registerTools.ts. It calls the `sdk.createIdentity` method.
      `${deps.toolPrefix}.create_identity`,
      {
        title: 'Create Identity',
        description: 'Create an identity item.',
        inputSchema: {
          name: z.string(),
          identity: z
            .object({
              title: z.string().optional(),
              firstName: z.string().optional(),
              middleName: z.string().optional(),
              lastName: z.string().optional(),
              address1: z.string().optional(),
              address2: z.string().optional(),
              address3: z.string().optional(),
              city: z.string().optional(),
              state: z.string().optional(),
              postalCode: z.string().optional(),
              country: z.string().optional(),
              company: z.string().optional(),
              email: z.string().optional(),
              phone: z.string().optional(),
              ssn: z.string().optional(),
              username: z.string().optional(),
              passportNumber: z.string().optional(),
              licenseNumber: z.string().optional(),
            })
            .optional(),
          notes: z.string().optional(),
          fields: z
            .array(
              z.object({
                name: z.string(),
                value: z.string(),
                hidden: z.boolean().optional(),
              }),
            )
            .optional(),
          favorite: z.boolean().optional(),
          organizationId: z.string().optional(),
          collectionIds: z.array(z.string()).optional(),
          folderId: z.string().optional(),
        },
        _meta: toolMeta,
      },
      async (input, extra) => {
        if (isReadOnly) return readonlyBlocked();
        const sdk = await deps.getSdk(extra.authInfo);
        const created = await sdk.createIdentity(input);
        return {
          structuredContent: { item: created },
          content: [{ type: 'text', text: 'Created.' }],
        };
      },
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/icoretech/warden-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server