Skip to main content
Glama

keychain_send_create_encoded

Create secure Bitwarden Send items using base64-encoded JSON or raw JSON input, with options for text notes, hidden content, or file attachments.

Instructions

Create a Send via bw send create. Provide encodedJson (base64) or json (will be bw-encoded). Optional: text, hidden, or file (filename+contentBase64).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
encodedJsonNo
jsonNo
textNo
hiddenNo
fileNo

Implementation Reference

  • The tool 'keychain_send_create_encoded' is registered in 'src/tools/registerTools.ts'. Its handler invokes 'sdk.sendCreateEncoded'.
      `${deps.toolPrefix}.send_create_encoded`,
      {
        title: 'Send Create (Encoded JSON)',
        description:
          'Create a Send via `bw send create`. Provide `encodedJson` (base64) or `json` (will be bw-encoded). Optional: `text`, `hidden`, or `file` (filename+contentBase64).',
        annotations: {
          readOnlyHint: false,
          destructiveHint: false,
          openWorldHint: true,
        },
        inputSchema: {
          encodedJson: z.string().optional(),
          json: z.unknown().optional(),
          text: z.string().optional(),
          hidden: z.boolean().optional(),
          file: z
            .object({
              filename: z.string(),
              contentBase64: z.string(),
            })
            .optional(),
        },
        _meta: toolMeta,
      },
      async (input, extra) => {
        if (isReadOnly) return readonlyBlocked();
        const sdk = await deps.getSdk(extra.authInfo);
        const send = await sdk.sendCreateEncoded(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