Overview
Thebd recall command retrieves the complete content of a stored memory by its key. Unlike bd memories which truncates long content, recall shows everything.
Added in: v0.58.0
Syntax
Arguments
string
required
The exact key of the memory to retrieve. Keys are case-sensitive.
How It Works
The command queries the key-value store for the entry matchingkv.memory.<key> and returns the full content without truncation. This is useful for:
- Reading long, multi-line memories
- Copying content for reference
- Verifying exact stored text
- Piping to other commands
Examples
Basic Recall
Retrieve a simple memory:Multi-line Memory
Recall complex, structured information:Long Content
Get full text that was truncated inbd memories:
Memory Doesn’t Exist
When the key is not found:JSON Output
For programmatic use, add--json:
Use Cases
Copy to Clipboard
On macOS:Use in Scripts
Extract configuration from memories:Verify Memory Content
Check exact wording before updating:Pipe to Editor
Edit long memories:Compare Versions
If you’re tracking similar info in git:Agent Context Retrieval
AI agents can fetch specific knowledge:Finding Keys
If you don’t know the exact key:Exit Codes
- 0: Memory found and retrieved successfully
- 1: Memory key not found
Related Commands
bd memories- List all memories or search by keywordbd remember- Store or update a memorybd forget- Delete a memory
Tips
Keys are case-sensitive.
bd recall Auth-JWT won’t find auth-jwt. Use bd memories to find the correct key if unsure.