keychain_get_organization
Retrieve organization details from a Bitwarden vault by specifying its unique identifier.
Instructions
Get an organization by id (bw get organization).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- src/tools/registerTools.ts:700-719 (handler)The handler and registration for 'keychain_get_organization'. Based on the `toolPrefix` logic, this registers as '{prefix}.get_organization'.
registerTool( `${deps.toolPrefix}.get_organization`, { title: 'Get Organization', description: 'Get an organization by id (bw get organization).', annotations: { readOnlyHint: true }, inputSchema: { id: z.string(), }, _meta: toolMeta, }, async (input, extra) => { const sdk = await deps.getSdk(extra.authInfo); const organization = await sdk.getOrganization(input); return { structuredContent: { organization }, content: [{ type: 'text', text: 'OK' }], }; }, );