expand_schema_node
Expand a schema node and get the nodes/edges delta to merge into the canvas. Select entity, permission, or role view to reveal schema neighbors, permissions, or role grants.
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 — a lowercase entity type, or a permission or role name (casing ignored) | |
| endpoint | No | Only applies to EntityType schema neighborhoods | v1.0 |