get_neo4j_schema
Returns nodes, their properties (with types and indexed flags), and relationships using APOC's schema inspection.
You should only provide a sample_size value if requested by the user, or tuning the retrieval performance.
Performance Notes:
- If
sample_sizeis not provided, uses the server's default sample setting defined in the server configuration. - If retrieving the schema times out, try lowering the sample size, e.g.
sample_size=100. - To sample the entire graph use
sample_size=-1.