keychain_create_org_collection
Create a new collection within an organization's vault to organize and manage shared credentials and secure items for team access control.
Instructions
Create an organization collection.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organizationId | Yes | ||
| name | Yes |
Implementation Reference
- src/tools/registerTools.ts:372-391 (handler)Registration and handler for "keychain_create_org_collection". Note: In the codebase, it is registered with `deps.toolPrefix + '.create_org_collection'`.
`${deps.toolPrefix}.create_org_collection`, { title: 'Create Org Collection', description: 'Create an organization collection.', inputSchema: { organizationId: 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.createOrgCollection(input); return { structuredContent: { collection }, content: [{ type: 'text', text: 'Created.' }], }; }, );