expand_schema_node
Expand one schema graph node to return a mergeable nodes/edges delta for canvas visualization, revealing entity neighborhoods, touching permissions, and granting roles.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"node_id": "<node_id>",
"kind": "<kind>"
},
"name": "expand_schema_node"
}
}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 |