aethis_graph
Retrieve the ruleset-map graph for a published ruleset or composed rulebook to visualize and explain how branches compose, with nodes, edges, sections, stats, and a Mermaid diagram.
Instructions
Get the ruleset-map graph for a single published ruleset (ruleset_id) or a composed rulebook (rulebook_id) — provide exactly one. Returns {ruleset_id|rulebook_id, slug, name, graph: {nodes, edges, sections, stats}, mermaid}: each node's display.sentence / display.routes / display.expr shows how that branch composes, and mermaid is a ready-to-render diagram string. Use this to visualise or explain a ruleset's/rulebook's structure before or instead of aethis_explain. Ruleset graphs may be public (no auth for public showcase rulesets); rulebook graphs always require an API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ruleset_id | No | The ID or slug of a single published ruleset. Mutually exclusive with rulebook_id. | |
| rulebook_id | No | The slug (e.g. `aethis/uk-fsm`) or opaque id (`rb_*`) of a composed rulebook. Mutually exclusive with ruleset_id. Requires an API key — anonymous callers get HTTP 401. |