Get SPOKE Knowledge Graph Schema (compact)
get_spoke_schemaRetrieve a live, compact schema map of the SPOKE graph showing node labels and relationship types with counts. Use it to pick the exact edge type before writing Cypher queries.
Instructions
Return a COMPACT, curated map of the current SPOKE graph: node labels with counts and a Source->REL->Target edge directory with counts and cost flags.
This is derived live from the database, so it reflects the real, current schema (robust to new/renamed labels or edges). It is small and cached - call it ONCE near the start of a task, then rely on resolve_entity + query_spoke. Use the edge_directory to pick the exact relationship type that connects two entity types before writing Cypher.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_spoke_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | Force a re-read of the live schema (otherwise a cached copy is returned). |