keychain_status
Check Bitwarden CLI status to verify if the vault is locked or unlocked, and view server and user information for secure password management.
Instructions
Returns Bitwarden CLI status (locked/unlocked, server, user).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/registerTools.ts:120-144 (handler)The tool is registered as `.status` but is functionally equivalent to `keychain_status` in terms of providing vault status. The implementation delegates to `sdk.status()`.
registerTool( `${deps.toolPrefix}.status`, { title: 'Vault Status', description: 'Returns Bitwarden CLI status (locked/unlocked, server, user).', annotations: { readOnlyHint: true }, inputSchema: {}, _meta: toolMeta, }, async (_input, extra) => { const sdk = await deps.getSdk(extra.authInfo); const status = await sdk.status(); const summary = status && typeof status === 'object' && typeof (status as { summary?: unknown }).summary === 'string' ? String((status as { summary?: unknown }).summary) : 'Vault access ready.'; return { structuredContent: { status }, content: [{ type: 'text', text: summary }], }; }, );