Skip to main content
Glama

keychain_send_create

Create secure text or file shares with Bitwarden Send, setting expiration dates, passwords, and access limits for controlled sharing.

Instructions

Create a Bitwarden Send. For file sends, pass filename+contentBase64. (bw send).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYes
textNo
filenameNo
contentBase64No
deleteInDaysNo
passwordNo
maxAccessCountNo
hiddenNo
nameNo
notesNo
fullObjectNo

Implementation Reference

  • The implementation of the `send_create` tool (prefixed by `deps.toolPrefix`). It validates input using zod and calls `sdk.sendCreate`.
      `${deps.toolPrefix}.send_create`,
      {
        title: 'Send Create',
        description:
          'Create a Bitwarden Send. For file sends, pass filename+contentBase64. (bw send).',
        annotations: {
          readOnlyHint: false,
          destructiveHint: false,
          openWorldHint: true,
        },
        inputSchema: {
          type: z.enum(['text', 'file']),
          text: z.string().optional(),
          filename: z.string().optional(),
          contentBase64: z.string().optional(),
          deleteInDays: z.number().int().min(1).max(3650).optional(),
          password: z.string().optional(),
          maxAccessCount: z.number().int().min(1).max(1_000_000).optional(),
          hidden: z.boolean().optional(),
          name: z.string().optional(),
          notes: z.string().optional(),
          fullObject: z.boolean().optional(),
        },
        _meta: toolMeta,
      },
      async (input, extra) => {
        if (isReadOnly) return readonlyBlocked();
        const sdk = await deps.getSdk(extra.authInfo);
        const send = await sdk.sendCreate(input);
        return {
          structuredContent: { send },
          content: [{ type: 'text', text: 'OK' }],
        };
      },
    );

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