keychain_get_notes
Retrieve secure notes from a Bitwarden vault by searching with a specific term, enabling access to stored information while maintaining security.
Instructions
Get item notes by search term (bw get notes).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | Yes | ||
| reveal | No |
Implementation Reference
- src/tools/registerTools.ts:608-630 (handler)The handler for keychain_get_notes (registered as .get_notes) which calls sdk.getNotes.
`${deps.toolPrefix}.get_notes`, { title: 'Get Notes', description: 'Get item notes by search term (bw get notes).', annotations: { readOnlyHint: true }, inputSchema: { term: z.string(), reveal: z.boolean().optional(), }, _meta: toolMeta, }, async (input, extra) => { const sdk = await deps.getSdk(extra.authInfo); const notes = await sdk.getNotes( { term: input.term }, { reveal: effectiveReveal(input) }, ); return { structuredContent: toolResult('notes', notes.value, notes.revealed), content: [{ type: 'text', text: 'OK' }], }; }, );