Search Nodes
search_nodesSearch knowledge graph nodes by matching a query against entity names, types, and observation content; narrow by exact entity type and paginate results in name order.
Instructions
Search for nodes in the knowledge graph based on a query. The query is matched against entity names, types and observation content; entityType narrows to one exact type, and limit/offset page the matches in name order. For the whole graph use read_graph, and for names you already know use open_nodes. For a search written the way a query is spoken, use find_nodes: it matches whole words and ranks the results.
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": {
"query": "<query>"
},
"name": "search_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | The most entities to return; omit for all of them | |
| query | Yes | The search query to match against entity names, types, and observation content | |
| offset | No | How many matches to skip before the page; omit for none | |
| entityType | No | Only entities of this exact type; omit to match every type |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entities | Yes | ||
| relations | Yes |