why
Explains a decision by locating a memory (optionally scoped by metadata filters) and returning its connected subgraph of related memories through typed links, surfacing context plain similarity search misses.
Instructions
Explain a decision: find the best-matching memory (optionally scoped by a metadata filter, e.g. the current project) and return the connected subgraph of related memories reachable through typed links — fusing vector, ColumnStore, and graph to surface context a plain similarity search misses.
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": {
"decision": "<decision>"
},
"name": "why"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Optional exact-match metadata filter to scope the seed (e.g. `{"project": "veles"}`). | |
| decision | Yes | The decision (or fact) to explain. | |
| max_hops | No | How many hops of typed links to follow (default 2). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | Yes | Typed edges connecting the nodes. | |
| nodes | Yes | Memories in the subgraph, seed first. |