search_text
Search nodes by keyword or phrase in a specified text property. Requires a pre-existing text index; returns matching results sorted by relevance.
Instructions
Full-text keyword search over string properties.
Finds nodes whose text property matches the search query. Requires a text index created via create_text_index on the same label + property.
Use this tool when: you want to search for nodes by keyword or phrase. Do NOT use for: semantic/vector similarity (use vector_search), exact property matching (use execute_gql with WHERE), or browsing by label (use search_nodes_by_label).
Args: label: Node label to search within (e.g. "Article"). property: String property to search (e.g. "title"). query: Search query string (keywords or phrase). limit: Maximum number of results to return (default 20).
Returns: JSON array of {node_id, score, labels, properties} sorted by relevance score descending.
Examples: search_text("Article", "title", "graph database") search_text("Document", "content", "machine learning", limit=10)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | ||
| property | Yes | ||
| query | Yes | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |