search_nodes
Query entities in structured data using Elasticsearch syntax. Filter by entity types, sort by relevance or recency, and specify zones for isolation. Enhances search precision with advanced operators like boolean, proximity, and wildcards for Knowledge Graph insights.
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.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
entityTypes | No | Filter to specific entity types (OR condition if multiple). | |
includeObservations | No | Include full entity observations (default: false). | |
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. | |
limit | No | Max results (default: 20, or 5 with observations). | |
memory_zone | Yes | Limit search to specific zone. Omit for default zone. | |
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. |