vector_graph_search
Search nodes by vector similarity, then return each hit with connected neighbors in both edge directions, including hop count and source node for graph-aware exploration.
Instructions
Vector search, then the graph around each hit, in both edge directions.
Returns seeds (as vector_search) and neighbors, each with its hop count and the node it was reached from.
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": {
"label": "<label>",
"property": "<property>"
},
"name": "vector_graph_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | Number of seed nodes. | |
| label | Yes | ||
| property | Yes | The property that holds the embeddings, e.g. "embedding". | |
| expand_depth | No | Hops to expand from each seed; 0 for none. | |
| like_node_id | No | Search near this node's stored vector; the node itself is left out. | |
| query_vector | No | The query embedding (the index's model and size), or use like_node_id. | |
| expand_edge_type | No | Follow only this edge type. |