keychain_edit_org_collection
Rename an organization collection in a Bitwarden vault to update its label for better organization and access control.
Instructions
Rename an organization collection.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organizationId | Yes | ||
| id | Yes | ||
| name | Yes |
Implementation Reference
- src/tools/registerTools.ts:394-414 (handler)The tool 'keychain_edit_org_collection' is registered in 'src/tools/registerTools.ts'. Its handler uses the 'keychainSdk' to execute the 'editOrgCollection' method.
`${deps.toolPrefix}.edit_org_collection`, { title: 'Edit Org Collection', description: 'Rename an organization collection.', inputSchema: { organizationId: z.string(), id: z.string(), name: z.string(), }, _meta: toolMeta, }, async (input, extra) => { if (isReadOnly) return readonlyBlocked(); const sdk = await deps.getSdk(extra.authInfo); const collection = await sdk.editOrgCollection(input); return { structuredContent: { collection }, content: [{ type: 'text', text: 'Updated.' }], }; }, );