Skip to main content
Glama

keychain_get_org_collection

Retrieve a specific organizational collection from a Bitwarden vault using its unique identifier to access grouped secure items.

Instructions

Get an org collection by id (bw get org-collection).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
organizationIdNo

Implementation Reference

  • Tool registration and handler implementation for keychain_get_org_collection.
      `${deps.toolPrefix}.get_org_collection`,
      {
        title: 'Get Org Collection',
        description: 'Get an org collection by id (bw get org-collection).',
        annotations: { readOnlyHint: true },
        inputSchema: {
          id: z.string(),
          organizationId: z.string().optional(),
        },
        _meta: toolMeta,
      },
      async (input, extra) => {
        const sdk = await deps.getSdk(extra.authInfo);
        const collection = await sdk.getOrgCollection(input);
        return {
          structuredContent: { collection },
          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