Graph Schema (discover traversable edge types + their correct-use metadata) [beta]
graph_schemaDiscover what's traversable in the entity graph — the searchable catalog of edge types (from mars.graph_edge_catalog), so you know which edges exist AND how to use them SAFELY before walking. Pass a natural-language query ('edges from a person to a company', 'board seats', 'M&A') → the relevant edges ranked by meaning (E5 semantic search — searchable, not a dump: at hundreds of edges you can't read the whole schema). Each result carries the correct-use metadata inline: signals (rank axes), integrity_filter + edge_filter (the mandatory consumer gates, already applied by graph_neighbors), pit_column, src/dst_node_type, coverage_rows (density), freshness (live vs nightly-materialized-view — how current a walk of this edge is). Omit query to list all. Feed an edge_type to graph_neighbors.
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": "graph_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max edges returned (default 15). | |
| query | No | Natural-language description of the edge(s) you want (semantic search). Omit to list all. | |
| node_type | No | Optional — only edges touching this node type (src or dst). |