build_context
Retrieve conversation history from memory URLs to maintain context and enable natural follow-ups on previous discussions or related topics.
Instructions
Build context from a memory:// URI to continue conversations naturally.
Use this to follow up on previous discussions or explore related topics.
Memory URL Format:
- Use paths like "folder/note" or "memory://folder/note"
- Pattern matching: "folder/*" matches all notes in folder
- Valid characters: letters, numbers, hyphens, underscores, forward slashes
- Avoid: double slashes (//), angle brackets (<>), quotes, pipes (|)
- Examples: "specs/search", "projects/basic-memory", "notes/*"
Timeframes support natural language like:
- "2 days ago", "last week", "today", "3 months ago"
- Or standard formats like "7d", "24h"Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| project | No | ||
| depth | No | ||
| timeframe | No | 7d | |
| page | No | ||
| page_size | No | ||
| max_related | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| results | No | Hierarchical results with related items nested | |
| metadata | Yes | ||
| page_size | No |