getSchemaMarkdown
Fetch the full graph schema as compact Markdown before building any query. Returns labels, property types and ranges, relationships, and semantic-search indexes to ensure exact, correct queries.
Instructions
STEP 0 — call this ONCE at the start of every conversation before constructing any query. Returns the complete graph schema as compact Markdown: all labels with record counts, all properties per label with their type and value ranges (min/max for numbers/datetimes, sample values for strings/booleans; array properties render as type[]), and all cross-label relationships with direction and edge property summaries. The Properties table includes a "Semantic Search" column: properties with an embedding index show sourceType similarityFunction dimensionsd [status] (e.g. managed cosine 1536d [ready]); others show —. A non-— value means the property is queryable with aiSemanticSearch. This single call replaces the need for separate findLabels + findProperties + findRelationships discovery calls. Use the result to determine exact label names (case-sensitive), field names, field types, and relationship patterns before building any findRecords query. Optionally pass labels array to narrow the output to specific labels. Pass force: true to bypass the 1-hour schema cache and force a fresh recalculation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Pass true to bypass the 1-hour schema cache and force a fresh recalculation. | |
| labels | No | Optional: scope schema to specific labels only. Leave empty to get all labels. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | Yes |