expand_schema_node
Expand a schema graph node to reveal its connected entities, permissions, and roles, returning a delta of nodes and edges to merge into your canvas.
Instructions
Expand one node of the schema graph and return a {nodes, edges, message} delta to merge into the canvas — the interactive companion to visualize_schema_graph. kind="EntityType" with view="entity" returns the schema neighborhood (navigation targets, base type, referrers); with view="permission" the permissions that touch the entity; with view="role" those permissions plus the roles granting them (heuristic role map). kind="Permission" returns touched entities plus the roles granting it. kind="Role" returns granted permissions and their entities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| view | No | Steers EntityType expansion: schema neighborhood vs permission usage | entity |
| since | No | Change-activity window — ISO date or day count (e.g. "30") | |
| node_id | Yes | Node id — lowercase entity type, permission name, or role name | |
| endpoint | No | Only applies to EntityType schema neighborhoods | v1.0 |