search_nodes
Search stored entities with Elasticsearch query syntax to find notes, relationships, and observations across isolated memory zones using boolean, fuzzy, phrase, wildcard, and boost operators.
Instructions
Search entities using ElasticSearch query syntax. Supports boolean operators (AND, OR, NOT), fuzzy matching (~), phrases ("term"), proximity ("terms"N), wildcards (*, ?), and boosting (^N). Examples: 'meeting AND notes', 'Jon', '"project plan"~2'. All searches respect zone isolation.
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>",
"memory_zone": "<memory_zone>",
"informationNeeded": "<informationNeeded>",
"reason": "<reason>"
},
"name": "search_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default: 20, or 5 with observations). | |
| query | Yes | ElasticSearch query string. | |
| reason | Yes | Explain why this information is needed to help the AI agent give better results. The more context you provide, the better the results will be. | |
| sortBy | No | Sort by match quality, access time, or importance. | |
| entityTypes | No | Filter to specific entity types (OR condition if multiple). | |
| memory_zone | Yes | Limit search to specific zone. Omit for default zone. | |
| informationNeeded | Yes | Important. Describe what information you are looking for, to give a precise context to the search engine AI agent. What questions are you trying to answer? Helps get more useful results. | |
| includeObservations | No | Include full entity observations (default: false). |