explore
Explore connections from a memory.
Traverses the knowledge graph to find related concepts, following
relationships up to the specified depth.
Args:
start_memory: Starting memory UUID
max_depth: How deep to traverse (default 3, max 10)
relationship_types: Filter by specific relationship types (optional)
ctx: MCP context (automatically provided)
Returns:
Dict with paths found, max depth reached, and path details
Examples:
>>> await explore("uuid-123", max_depth=2)
{'success': True, 'paths_found': 5, 'max_depth_reached': 2, 'paths': [...]}
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"start_memory": "<start_memory>"
},
"name": "explore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | ||
| start_memory | Yes | ||
| relationship_types | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |