keychain_send_edit
Edit Bitwarden secure file or text shares by providing JSON data or base64-encoded content, optionally specifying the item ID for targeted updates.
Instructions
Edit a Send via bw send edit. Provide encodedJson (base64) or json (will be bw-encoded). Optional: itemId (maps to --itemid).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| encodedJson | No | ||
| json | No | ||
| itemId | No |
Implementation Reference
- src/tools/registerTools.ts:1023-1049 (handler)Registration and handler for the `send_edit` tool. It uses `sdk.sendEdit` to perform the operation.
`${deps.toolPrefix}.send_edit`, { title: 'Send Edit (Encoded JSON)', description: 'Edit a Send via `bw send edit`. Provide `encodedJson` (base64) or `json` (will be bw-encoded). Optional: `itemId` (maps to --itemid).', annotations: { readOnlyHint: false, destructiveHint: false, openWorldHint: true, }, inputSchema: { encodedJson: z.string().optional(), json: z.unknown().optional(), itemId: z.string().optional(), }, _meta: toolMeta, }, async (input, extra) => { if (isReadOnly) return readonlyBlocked(); const sdk = await deps.getSdk(extra.authInfo); const send = await sdk.sendEdit(input); return { structuredContent: { send }, content: [{ type: 'text', text: 'OK' }], }; }, );