keychain_send_template
Generate JSON templates for Bitwarden Send objects to create secure file or text shares.
Instructions
Get json templates for send objects (bw send template).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object | Yes |
Implementation Reference
- src/tools/registerTools.ts:905-923 (handler)The tool `keychain_send_template` is registered as `${deps.toolPrefix}.send_template` and calls `sdk.sendTemplate(input)` to execute its logic.
`${deps.toolPrefix}.send_template`, { title: 'Send Template', description: 'Get json templates for send objects (bw send template).', annotations: { readOnlyHint: true, openWorldHint: true }, inputSchema: { object: z.enum(['send.text', 'text', 'send.file', 'file']), }, _meta: toolMeta, }, async (input, extra) => { const sdk = await deps.getSdk(extra.authInfo); const template = await sdk.sendTemplate(input); return { structuredContent: { template }, content: [{ type: 'text', text: 'OK' }], }; }, );