get_neo4j_schema_and_indexes
Retrieve Neo4j graph schema with search indexes and property size warnings to optimize search tool usage and avoid token limits.
Instructions
Returns Neo4j graph schema with search indexes and property size warnings.
IMPORTANT: Call this tool BEFORE using any search tools (vector_search, fulltext_search, search_cypher_query).
This tool provides:
Vector & fulltext indexes (for search)
Node/relationship schemas with property types
Warnings for large properties (helps choose efficient return_properties)
Property size warnings help you avoid token limits when using search tools. For example, if a property has warning "avg ~100-200KB", avoid returning it unless necessary.
You should only provide a sample_size value if requested by the user, or tuning performance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sample_size | No | The sample size used to infer the graph schema and property sizes. Larger samples are slower but more accurate. |