graph_edges
Query memory relationship graphs with filters for memory ID, relation type, and direction. Understand connections between memories.
Instructions
Query the memory graph edges with filters.
Browse the relationship graph between memories. Use to understand how memories are connected.
Args: memory_id: Optional UUID to filter edges involving a specific memory. relation: Optional relation type filter. direction: "outgoing", "incoming", or "both" (default). limit: Maximum edges to return (default 100).
Returns: JSON string with matching edges.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "graph_edges"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| relation | No | ||
| direction | No | both | |
| memory_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |