build_context
Build context from a memory:// URI to continue conversations naturally.Parameters
memory:// URI pointing to discussion content. Examples:
memory://specs/searchmemory://projects/basic-memorynotes/*(pattern matching)
Project name to build context from. Optional - server resolves using hierarchy.
Cloud workspace name or tenant_id
How many relation hops to traverse (1-3 recommended for performance)
How far back to look. Supports natural language:
- “2 days ago”, “last week”, “today”
- Standard formats: “7d”, “24h”
Page number of results to return
Number of results to return per page
Maximum number of related results to return
Response format:
json- Structured JSON with internal fields excludedtext- Compact markdown text for LLM consumption
Returns
JSON format - Structured context graph with:
results- Array of context results with primary and related entitiesmetadata- Query metadata (URI, depth, counts)
- Entity blocks with observations and relations
- Related entities
- Metadata footer
Examples
recent_activity
Get recent activity for a project or across all projects.Parameters
Filter by content type(s). Valid options:
entity- Knowledge entitiesrelation- Connections between entitiesobservation- Notes and observations
["entity", "relation"]
Default is entity-only.How many relation hops to traverse (1-3 recommended)
Time window to search. Supports natural language:
- Relative: “2 days ago”, “last week”, “yesterday”
- Points in time: “2024-01-01”, “January 1st”
- Standard format: “7d”, “24h”
Page number for pagination
Number of items per page
Project name to query. Optional - server resolves using hierarchy.
If no project can be resolved, returns cross-project discovery information.
“text” returns human-readable summary. “json” returns flat list of recent items.
Returns
Discovery Mode (no project resolved):
- Summary of recent activity across all projects
- Most active project suggestion
- Guidance for selecting a project
- Detailed activity for the specified project
- Grouped by type (entities, relations, observations)
- Pagination info
- Flat list of recent items with metadata
Examples
list_directory
List directory contents with filtering and depth control.Parameters
Directory path to list. Examples:
/- Root directory/projects- Projects folder/research/ml- Nested path
Recursion depth (1-10). Higher values show subdirectory contents recursively.
- 1 = immediate children only
- 2 = children and their children
- 3+ = deeper exploration
Optional glob pattern for filtering file names. Examples:
*.md- All markdown files*meeting*- Files with “meeting” in nameproject_*- Files starting with “project_”
Project name to list directory from. Optional - server resolves using hierarchy.
Returns
Formatted listing of directory contents with:
- Directories (📁) listed first
- Files (📄) with metadata (title, date)
- Summary of total items