| name | recall |
| description | Recall relevant agent101 memory facts by asking for a thread ID and query, then calling recall_memory. |
/recall
Use when the user invokes /recall or asks to search a thread's memory.
Workflow
- Ask for the thread ID if it was not provided.
- Ask for the recall query if it was not provided.
- Call
recall_memory(thread_id: str, query: str).
- Show a formatted confirmation and results:
Recall results for thread: <thread_id>
Query: <query>
results:
- <fact or memory content>
- If results are empty, say no matching memory was found.
Error Handling
Use this recovery format exactly.
If the tool fails, respond with:
Failed operation: recall_memory
Reason: <tool error>
Recovery steps:
- Verify the thread ID with /list-threads.
- Use a non-empty query.
- Check OPENSEARCH_HOST and Bedrock embedding configuration if semantic recall is unavailable.