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
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| organizationId | No |
Implementation Reference
- src/tools/registerTools.ts:722-741 (handler)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' }], }; }, );